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...

main()
{
printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3));
}
wat is the o/p and how?

Answer Posted / niru

2 2 2
it returns the size of the int.
if the compiler is 32bit, size of the int=4
o/p: 4 4 4

Is This Answer Correct ?    3 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define VARIABLE?

1105


Explain the difference between call by value and call by reference in c language?

1053


What is && in c programming?

1112


why we wont use '&' sing in aceesing the string using scanf

2311


Explain what are linked list?

989


What is the heap?

1155


What do you understand by normalization of pointers?

1005


Write a progarm to find the length of string using switch case?

2026


Why isn't any of this standardized in c? Any real program has to do some of these things.

1148


What is the description for syntax errors?

1096


Give differences between - new and malloc() , delete and free() ?

1045


How is pointer initialized in c?

976


Why c is called a mid level programming language?

1023


What is meant by high-order and low-order bytes?

1002


What are local static variables?

1081