belongs to collection: C Programming Array\'s Multiple Choice Questions And Answers
Predict the output of below code:
#include<stdio.h> int main() { int a[5] = {5, 1, 15, 20, 25}; int i, j, m; i = ++a[1]; j = a[1]++; m = a[i++]; printf("%d, %d, %d", i, j, m); return 0; }
Correct Answer:
3, 2, 15
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:
3, 2, 15
need an explanation for this answer? contact us directly to get an explanation for this answer