0
#include<stdio.h>Â #include<conio.h>Â void main(){Â int a[]={5,10,15};Â int i=0,num;Â num=a[++i]+ ++i+(++i);Â printf("%d",num);Â
The output is 6 how?
1 Answer
0
It can't be 6. Output should be 15.
first increment i=1, a=10
second increment i=2
third increment i=3
num=10+2+3