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

22 21 22 22

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the scope of local variable in c?

1137


What is size of union in c?

1028


Why c is procedure oriented?

1080


What is printf () in c?

1091


I came across some code that puts a (void) cast before each call to printf. Why?

1222


Explain how do you convert strings to numbers in c?

1082


What is keyword in c?

1017


What is scope rule in c?

1073


Is python a c language?

1020


What is getch () for?

1243


What are pointers? Why are they used?

1186


What is the difference between near, far and huge pointers?

1099


difference between native and cross compilers

2135


Is array a primitive data type in c?

1074


What is the difference between far and near ?

1198