Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations - NIMCET

Previous Year Question (PYQs)



Consider the array definition
int num[10] = {3, 3, 3};

Pick the correct answer:





Solution

Array size is 10, so valid indices are 0 to 9. Hence num[9] is the last element. Uninitialized elements are set to 0.


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...