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

i am agree with yognesh , ,

when u compile this is C it gives 22 21 21 20 . .

check it out ..

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1137


Which built-in library function can be used to match a patter from the string?

1241


int far *near * p; means

3508


Can a file other than a .h file be included with #include?

1103


Why is c known as a mother language?

1190


What is dangling pointer in c?

1136


Why do we use static in c?

1071


What are the data types present in c?

1093


What does void main () mean?

1182


What is the time and space complexities of merge sort and when is it preferred over quick sort?

1017


An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above

1157


What is meant by 'bit masking'?

1336


What is c preprocessor mean?

1248


What is self-referential structure in c programming?

1146


What is NULL pointer?

1044