Aspire Faculty ID #13712 · Topic: JAMIA MILLIA ISLAMIA MCA 2022 · Just now
JAMIA MILLIA ISLAMIA MCA 2022

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

Previous 10 Questions — JAMIA MILLIA ISLAMIA MCA 2022

Nearest first

Next 10 Questions — JAMIA MILLIA ISLAMIA MCA 2022

Ascending by ID
Ask Your Question or Put Your Review.

loading...