0
char x= name; print("%c",x) showing syntax error what is the wrong i have followed all syntax rules it is c language kindly answ
3 Respostas
+ 1
%c format specifier is used to print single character
+ 1
char data type accepts either a single character within a single quote or an ascii value.
//this is for string
char *x = "Mani";
printf("%s", x);
+ 1
Thank u so much