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 / girish
15
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is pointer to pointer in c with example?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures
What does return 1 means in c?
What is infinite loop?
What is structure and union in c?
How can you check to see whether a symbol is defined?
what is uses of .net
What are actual arguments?
What are qualifiers?
What is meant by preprocessor in c?
What are the types of data files?
What does sizeof return c?
Where static variables are stored in c?
Describe dynamic data structure in c programming language?
What is the difference between formatted&unformatted i/o functions?