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

20212120 is the write answer because there is no space between
specified data type %d

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain how do you use macro?

1100


Is it acceptable to declare/define a variable in a c header?

1063


What is the use of a semicolon (;) at the end of every program statement?

1417


what is use of malloc and calloc?

1853


Explain what is the heap?

1016


What are the primitive data types in c?

1008


Differentiate between static and dynamic modeling.

1054


Explain what does the function toupper() do?

1007


Explain what is the most efficient way to store flag values?

1176


What are loops c?

998


What is page thrashing?

1029


What is the 'named constructor idiom'?

1035


What does & mean in scanf?

1046


What is gets() function?

1077


What is a lookup table in c?

1049