what will be the output of this program?
void main()
{
int a[]={5,10,15};
int i=0,num;
num=a[++i] + ++i +(++i);
printf("%d",num);
}

Answer Posted / gerda

15

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program in c language to print your bio-data on the screen by using functions.

6369


Explain the use of bit fieild.

815


write a program to create a sparse matrix using dynamic memory allocation.

4470


difference between Low, Middle, High Level languages in c ?

1738


What's the right way to use errno?

728






How to implement a packet in C

2483


How can I call fortran?

723


What does & mean in scanf?

706


I heard that you have to include stdio.h before calling printf. Why?

690


What is a node in c?

650


Explain what’s a signal? Explain what do I use signals for?

686


Are global variables static in c?

762


What is the use of bitwise operator?

776


Write the syntax and purpose of a switch statement in C.

732


In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none

843