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
Explain data types & how many data types supported by c?
Explain how can you avoid including a header more than once?
What is a pointer and how it is initialized?
Can you tell me how to check whether a linked list is circular?
Which node is more powerful and can handle local information processing or graphics processing?
The difference between printf and fprintf is ?
What is c standard library?
What is an auto keyword in c?
Explain what is the purpose of "extern" keyword in a function declaration?
What is string function in c?
How can I insert or delete a line (or record) in the middle of a file?
What is mean by data types in c?
Explain what is the benefit of using an enum rather than a #define constant?
What are variables and it what way is it different from constants?
What is 2 d array in c?