What will be the output of the program ?
#include<stdio.h>
void 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);
Answers
Answered by
3
Answer:
3, 2, 15
Explanation:
i = ++a[1]
i = 3
j = a[1]++
j = 2
m = a[i++]
m = 15
Similar questions
Math,
2 months ago
English,
2 months ago
Political Science,
9 months ago
Physics,
9 months ago
English,
9 months ago