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 Antwort
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