Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

its stack operation . .

top will get printed first . .

answer will b 22 21 21 20

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why doesnt the call scanf work?

1195


How important is structure in life?

1090


Explain how can you tell whether a program was compiled using c versus c++?

1104


can we implement multi-threads in c.

1132


How is a structure member accessed?

1135


what do u mean by Direct access files? then can u explain about Direct Access Files?

2096


How can I check whether a file exists? I want to warn the user if a requested input file is missing.

1150


What is a null pointer in c?

1234


Do pointers take up memory?

1160


Can include files be nested?

1113


Explain 'bit masking'?

1089


Why are all header files not declared in every c program?

1104


What is main return c?

1002


What are variables and it what way is it different from constants?

1244


the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above

1054