void main()
{
int i=5;
printf("%d",i++ + ++i);
}
Answer Posted / abhijeet dongre
I HAVE PRACTICED MANY ASPECTS OF THESE QUESTIONS
THING IS THAT
PRINTING VALUES IS FROM RIGHT TO LEFT.
SOLVING AN EXPRESSION IS FROM LEFT TO RIGHT.
SOME SAMPLE OUTPUTS:-(TRY IT)
int i=5;
printf("%d",i++ + ++i); 12(5+7 only)(not 6+6)
int i=5;
printf("%d",i++ * ++i); 35(5*7 only)(not 6*6)
int i=5;
printf("%d %d",i++ + ++i,i); 12 5
int i=5;
printf("%d",i++ + i++); 11 7
printf(" %d",i);
| Is This Answer Correct ? | 8 Yes | 5 No |
Post New Answer View All Answers
What is new line escape sequence?
Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.
What is ## preprocessor operator in c?
What is a const pointer in c?
What does == mean in texting?
Do pointers store the address of value or the actual value of a variable?
What is the difference between pure virtual function and virtual function?
Write a program to find the biggest number of three numbers in c?
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question
What does return 1 means in c?
How can I rethow can I return a sequence of random numbers which dont repeat at all?
How do you sort filenames in a directory?
Which is better oop or procedural?
can anyone suggest some site name..where i can get some good data structure puzzles???