Q.

What will be the output of the following code? Int main(){char str[9]="My Computer";printf("%s\n",str);return 0;}

A. mycompute
B. syntax error
C. runtime error
D. none of these
Answer» B. syntax error
1.6k
0
Do you find this helpful?
3

Discussion

No comments yet

Related MCQs