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 |
write a own function to compare two strings with out using stringcomparition function?
Explain the use of 'auto' keyword in c programming?
What is context in c?
How does placing some code lines between the comment symbol help in debugging the code?
how does a general function , that accepts an array as a parameter, "knows" the size of the array ? How should it define it parameters list ?
What is the difference between struct and union in C?
What are the two forms of #include directive?
Read N characters in to an array . Use functions to do all problems and pass the address of array to function. 2. Enter alphanumeric characters and form 2 array alphaets and digits.Also print the count of each array.
Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent
what is the difference between declaration ,defenetion and initialization of a variable?
How many types of operators are there in c?
Explain data types & how many data types supported by c?