Aspire's Library

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

Previous Year Question (PYQs)



What is the output of following C program:

int main(){
  int a[3]={10,12,14};
  a[1]=20; int i=0;
  while(i<3){ printf("%d ", a[i]); i++; }
  return 0;
}






Solution

main (function name, not a keyword).


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...