what is the Output?
int a=4 b=3;
printf("%d%d%d%d%d%d",a++,++a,a++,a++,++a,a++);
printf("%d%d%d%d%d%d",b--,b--,--b,b--,--b,--b);
Answer Posted / suresh mca
output
997664
-2-1-1112
here the concept is very is....
the work flow of the printf statement is right to left
and display of the statement is left to right.......
thats all very simple logic
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What does %c do in c?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
Define and explain about ! Operator?
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
What is strcmp in c?
Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?
What does a function declared as pascal do differently?
why wipro wase
Why do we use null pointer?
What are the standard predefined macros?
Write a program to check palindrome number in c programming?
How many identifiers are there in c?
What is the use of the function in c?
How can I open a file so that other programs can update it at the same time?
What are preprocessor directives in c?