V Viết Mạnh Member Sep 21, 2021 #1 What will be the output of the following C code? Code: char str[] = "Hello Nancy“; printf(“\n %.7s”, str) ; A. Hello Nan B. Hello C. Hello N D. Hello Nancy
What will be the output of the following C code? Code: char str[] = "Hello Nancy“; printf(“\n %.7s”, str) ; A. Hello Nan B. Hello C. Hello N D. Hello Nancy
Đ Đạt Michio New member Sep 21, 2021 #2 Answer: c Explanation: The output for the code must be 7 characters including white spaces. Upvote 0 Downvote