1

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

Correct Answer: syntax error

Make the most of this question

This page focuses on one Data Structure and Algorithms (DSA) question from Engineering. After checking the answer, return to the topic list to practice more or run a timed set.

Data Structure and Algorithms (DSA) MCQ: What will be the output of the following code? Int main(){char str[9]="My Computer";printf("%s\n",str);return 0;} | Extra Education