![Mcqmate logo](https://mcqmate.com/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/images/logos/logo-white.png)
McqMate
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 |
View all MCQs in
Data Structure and Algorithms (DSA)No comments yet