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

20,20,21,20

Is This Answer Correct ?    5 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is #define used?

794


What is data structure in c language?

611


What is break in c?

590


Where is c used?

656


Explain how do I determine whether a character is numeric, alphabetic, and so on?

657






Is null equal to 0 in sql?

657


How can I recover the file name given an open stream?

556


What is binary tree in c?

626


How many loops are there in c?

584


Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)

1867


What is the difference between far and near in c?

604


What are valid signatures for the Main function?

703


What is a nested formula?

609


Explain what is page thrashing?

613


What is malloc() function?

639