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
What are linked lists in c?
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
What is %g in c?
How to write a multi-statement macro?
Explain the properties of union.
Write a program to reverse a given number in c?
Explain what is the difference between #include and #include 'file' ?
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
Explain continue keyword in c
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
How do we open a binary file in Read/Write mode in C?
cavium networks written test pattern ..
I heard that you have to include stdio.h before calling printf. Why?
What is the use of sizeof?
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?