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

answer is :1 2 2 ;

size('3')means character constant so it is short int size it
will ocupi 1.

size("3")it will treated as string. 2

size(3) it is integer 2

Is This Answer Correct ?    9 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is union and structure?

1118


What does c mean in basketball?

996


Under what circumstances does a name clash occur?

1200


write a progrmm in c language take user interface generate table using for loop?

2049


What are called c variables?

1062


Why is c platform dependent?

1088


What is a pointer on a pointer in c programming language?

1139


Write a c program to build a heap method using Pointer to function and pointer to structure ?

4688


Explain what are the standard predefined macros?

1114


What is a structure in c language. how to initialise a structure in c?

1066


What does the characters “r” and “w” mean when writing programs that will make use of files?

1475


What is a loop?

1038


How variables are declared in c?

1041


Explain what is the benefit of using #define to declare a constant?

1179


what is the format specifier for printing a pointer value?

1021