void main()
{
int i=5;
printf("%d",i+++++i);
}
Answer Posted / sulochana
This statement is just i=i++ + ++i;
Initially i=5
i++ increments after the statement completed For now its
value is 5.
++i increments before its execution.so it is 6
It executes like
i=5+6; i.e. i=11
| Is This Answer Correct ? | 2 Yes | 8 No |
Post New Answer View All Answers
Add Two Numbers Without Using the Addition Operator
Why we use conio h in c?
Explain how do you determine the length of a string value that was stored in a variable?
What are pointers? What are stacks and queues?
What does a function declared as pascal do differently?
What is the use of function overloading in C?
What does nil mean in c?
What is meant by type specifiers?
How does free() know explain how much memory to release?
Explain what is page thrashing?
What is malloc return c?
What is void pointers in c?
What are the different types of endless loops?
What are the 5 elements of structure?
What is a double c?