WHAT WILL BE OUTPUT OF BELOW CODE . . AND PLEASE EXPLAIN HOW
IT COME ..

#include<stdio.h>
#include<conio.h>
void main()
{
int k=20;
printf("%d%d%d%d",k,k++,++k,k);
getch();
}

Answer Posted / vijay

20 21 20 20

Is This Answer Correct ?    2 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between pass by reference and pass by value?

660


What are the 4 types of unions?

613


What is the c value paradox and how is it explained?

580


How can I access an I o board directly?

629


Explain indirection?

650






What does the error message "DGROUP exceeds 64K" mean?

729


Who developed c language?

644


Explain how do you sort filenames in a directory?

613


What is difference between Structure and Unions?

644


Write a program of advanced Fibonacci series.

711


What is scope and lifetime of a variable in c?

582


The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?

669


How can I get back to the interactive keyboard if stdin is redirected?

673


How can I use a preprocessorif expression to ?

604


Write a program to show the change in position of a cursor using c

585