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 / pratik.nikam3112

answer is

22 21 21 20

Is This Answer Correct ?    38 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I discover how many arguments a function was actually called with?

628


What is getch?

629


WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.

2021


What kind of structure is a house?

551


how do you execute a c program in unix.

634






Is the exit() function same as the return statement? Explain.

656


Where register variables are stored in c?

545


Explain what is the difference between null and nul?

650


What is #define in c?

615


What is void c?

560


What is the modulus operator?

730


What is a sequential access file?

644


What is ambagious result in C? explain with an example.

2051


What are all different types of pointers in c?

572


Can we access array using pointer in c language?

640