The output of the following 'C' language code is: void main(){
The output of the following 'C' language code is:
void main(){
char arr[10];
arr = "world";
printf("%s", arr);
}
Show answerHide answer
Correct answer: (D) L-value required error
Correct answer: (D) L-value required error
This is question 172 of CIL MT Systems PYQ, 26 Mar 2017 (12:30 PM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.