Examveda

What will be the output of the following C code?
char str[] =”Good”;
scanf(“%s”, str);

A. compile error

B. run-time error

C. good

D. logical error

Answer: Option C


This Question Belongs to C Program >> File Input Output

Join The Discussion

Related Questions on File Input Output