Q293
What will be the output of the following C code? char str[] = "Hello Nancy“; printf(“ %.7s”, str) ;
A.
Hello Nan
B.
Hello
C.
Hello N
AnswerD.
Hello Nancy
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board