Advertisements
Advertisements
प्रश्न
The following statement : int code[ ]= {25, 37, 38, 42);
विकल्प
Assigns 37 to code[1]
Assigns 25 to code[1]
Assigns 38 to code[3]
Assigns 42 to code[0]
MCQ
उत्तर
Assigns 37 to code[1]
Explanation:
The statement int code[ ]= {25, 37, 38, 42};
assigns 37 to code[1] as the array index begins from 0. So the second value (37) will be assigned to code[1].
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?