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

my answer is
22 21 21 20

if it is wrong why?

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does int main () mean?

1002


Explain low-order bytes.

1013


Can you write the function prototype, definition and mention the other requirements.

1114


How can I call fortran?

1026


Can main () be called recursively?

1101


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

1193


What does double pointer mean in c?

1146


Write a program to swap two numbers without using third variable in c?

1116


explain what is an endless loop?

1071


Can we change the value of #define in c?

983


What is the significance of scope resolution operator?

1393


What are the general description for loop statement and available loop types in c?

1107


Why is c so important?

1045


What is the importance of c in your views?

1155


Differentiate between Macro and ordinary definition.

1361