Examveda

What will be the output of the following C code?
char str[] = "Hello Nancy“;
printf(“\n %.7s”, str) ;

A. Hello Nan

B. Hello

C. Hello N

D. Hello Nancy

Answer: Option C


This Question Belongs to C Program >> File Input Output

Join The Discussion

Related Questions on File Input Output