Examveda
Examveda

What will be the output of the following C code?
int ch= ' ';
if(isgraph(ch))
printf("ch = %c can be printed \n",ch);
else
printf("ch=%c cannot be printed \n",ch);

A. ch = ' ' can be printed

B. ch = ' ' cannot be printed

C. compile error

D. run-time error

Answer: Option B


This Question Belongs to C Program >> Arrays And Strings

Join The Discussion

Related Questions on Arrays and Strings