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
Why #include is used in c language?
What is the argument of a function in c?
Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol
What is the correct code to have following output in c using nested for loop?
How can I sort more data than will fit in memory?
What are the key features in c programming language?
What is storage class?
Write the Program to reverse a string using pointers.
What is New modifiers?
How do we declare variables in c?
What is far pointer in c?
What is the purpose of void pointer?
What is break statement?
Why can't I perform arithmetic on a void* pointer?
How to establish connection with oracle database software from c language?