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 / lohith
997664 -2-1-1112
| Is This Answer Correct ? | 5 Yes | 9 No |
Post New Answer View All Answers
What is the difference between class and object in c?
Explain what is wrong with this statement? Myname = ?robin?;
When should a type cast not be used?
write a program to copy the string using switch case?
I came across some code that puts a (void) cast before each call to printf. Why?
How do you write a program which produces its own source code as output?
Is there a built-in function in C that can be used for sorting data?
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
What is the use of printf() and scanf() functions?
What are the types of data files?
Once I have used freopen, how can I get the original stdout (or stdin) back?
What is 'bus error'?
How are pointers declared in c?
When should volatile modifier be used?
Why c is known as a mother language?