#include<stdio.h>
int main()
{
int i=2;
int j=++i + ++i + i++;
printf("%d\n",i);
printf("%d\n",j);
}
Answer Posted / kapil
i=5
j=11
j=3+4+4; (i++ post increment)
after this step i value become 5(i++)
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is pointers in c with example?
What is the difference between the expression “++a” and “a++”?
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
What are the types of assignment statements?
What are the advantages of using new operator as compared to the function malloc ()?
please help me..... please codes and flowchart plz turbo c lang po yan.....please asap response... 3. Make an astrology program. The user types in his or her birthday (month, day, and year as integer), and the program responds with the user’s zodiac sign, horoscope, and other information related to it. If the user’s birth year falls into a leap year, your program should display an appropriate message for it. NOTES: Conditional Statements: it should be with graphics
What are the advantages of union?
What does the format %10.2 mean when included in a printf statement?
What is the concatenation operator?
Explain a file operation in C with an example.
program to convert a integer to string in c language'
Explain the process of converting a Tree into a Binary Tree.
What is a keyword?
What is assert and when would I use it?
What is LINKED LIST? How can you access the last element in a linked list?