Ask your own question, for FREE!
Mathematics 16 Online
OpenStudy (anonymous):

What will be output if you will execute following c code? #include #include void main(){ int a[]={0,1,2,3,4,5,6,7,8,9,10}; int i=0,num; num=a[++i+a[++i]]+a[++i]; printf("%d",num); } (A) 6 (B) 7 (C) 8 (D) 9 (E) Compilation error

OpenStudy (perl):

what does that say int a []

OpenStudy (anonymous):

i dont know

OpenStudy (perl):

can you take a screenshot of it and upload it

OpenStudy (alyssa_xo):

http://puu.sh/cTIHh.png

OpenStudy (anonymous):

perl?

OpenStudy (anonymous):

What will be output if you will execute following c code? #include<stdio.h> #include<conio.h> void main(){ int i=3,val; val=sizeof f(i)+ +f(i=1)+ +f(i-1); printf("%d %d",val,i); } int f(int num){ return num*5; } (A) 2 0 (B) 7 1 (C) 17 0 (D) 2 1 (E) Compilation error

OpenStudy (anonymous):

this is another one

OpenStudy (perl):

are you using dev c++

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!