Question 172Asked in CIL MT Systems, 26 Mar 2017 (12:30 PM)

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); }
  1. Aworld
  2. Bworld5
  3. Cworld10
  4. DL-value required error
Show answerHide answer

Correct answer: (D) L-value required error

From CIL MT Systems PYQ, 26 Mar 2017 (12:30 PM)

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.