2024-11-08 03:07:58
2024-11-08 01:04:04
#include <stdio.h>
int main()
{
int m;
printf("Married people enter nonzero integer and unmarried people enter zero\n");
scanf("%d",&m);
char *a;//<-------------
char b[]="Married";
char c[]="Unmarried";
a = (m==0)?c:b;
printf("Someone is %s\n",a);//<------------
return 0;
}