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);
Answers were Sorted based on User's Feedback
Answer / arun sebastin
9 9 7 6 6 4
-2 -1 -1 1 1 2
The conceptis simple dothe operation in reverse
| Is This Answer Correct ? | 9 Yes | 2 No |
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 |
Answer / dumitru
in Open Suse the result is:
9 10 7 6 10 4
-2 -1 -3 1 -3 -3
| Is This Answer Correct ? | 2 Yes | 4 No |
Answer / vinod kumar
in fedora it is giving
91076104
-2-1-31-3-3
but dont know how
| Is This Answer Correct ? | 0 Yes | 5 No |
Reverse the bit order in a single macro. eg. i/p = 10010101 --> o/p = 10101001
Can an array be an Ivalue?
please tell me the logic for this C program : INPUT (string):ABCD OUTPUT :BCDA CDAB DABC
what is mean by Garbage collection ? Please answer me. Advance thanks.
control 50 devices which has 2 states on and off.using bitwise operator.plz answer it its urgent
Who invented b language?
What are the types of arrays in c?
what is reason of your company position's in india no. 1.
What are the modifiers available in c programming language?
What is the advantage of c?
what is the difference between 123 and 0123 in c?
What is a spanning Tree?