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
Is there a built-in function in C that can be used for sorting data?
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above
How was c created?
Where are the auto variables stored?
Where local variables are stored in c?
what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)
What do you understand by normalization of pointers?
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
Explain modulus operator.
What is I ++ in c programming?
PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor
What is a structure member in c?
What is the use of #define preprocessor in c?