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 / mathan kumar .t
6,6,5,5,5,4
0,0,0,1,1,2
| Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
Differentiate fundamental data types and derived data types in C.
What are the rules for the identifier?
What are valid operations on pointers?
What is data structure in c and its types?
If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402
Write a program for finding factorial of a number.
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
Why pointers are used?
why we wont use '&' sing in aceesing the string using scanf
Is stack a keyword in c?
How can I direct output to the printer?
What is c language and why we use it?
What is a nested formula?
Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays
Which of these functions is safer to use : fgets(), gets()? Why?