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 / shashikant

20,20,22,22

Is This Answer Correct ?    2 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the difference between a free-standing and a hosted environment?

745


What is 1f in c?

1839


explain what is fifo?

634


What is the difference between #include and #include 'file' ?

605


Write a program to check prime number in c programming?

598






i got 75% in all semester am i eligible for your company

1739


Explain what is the concatenation operator?

628


Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;

611


How can I implement sets or arrays of bits?

607


What does malloc () calloc () realloc () free () do?

560


hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm

1633


Explain how do you determine whether to use a stream function or a low-level function?

630


What does s c mean on snapchat?

588


What is the difference between Printf(..) and sprint(...) ?

790


What are the different types of endless loops?

624