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
write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list
What is the difference between scanf and fscanf?
Where is c used?
Do you know what are bitwise shift operators in c programming?
What is typeof in c?
Can you please explain the difference between malloc() and calloc() function?
write a program to copy the string using switch case?
How to declare a variable?
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
Explain how can I prevent another program from modifying part of a file that I am modifying?
What is meant by initialization and how we initialize a variable?
What is the use of typedef in structure in c?
What is main return c?
What is wrong with this declaration?
What is pragma in c?