belongs to collection: C Programming Array\'s Multiple Choice Questions And Answers
Predict the output of below code:
#include<stdio.h> int main() { int arr[5], i=0; while(i<5) arr[i]=++i; for(i=0; i<5; i++) printf("%d, ", arr[i]); return 0; }
Correct Answer:
Garbage value, 1, 2, 3, 4,
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Correct Answer:
Garbage value, 1, 2, 3, 4,
need an explanation for this answer? contact us directly to get an explanation for this answer