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

Find the output?
void main()
{float a=2.0;
printf("\nSize of a ::%d",sizeof(a));
printf("\nSize of 2.0 ::%d",sizeof(2.0));}

Answer Posted / ricky dobriyal

hello fnd..i am ricky dobriyal

output:-

Size of a =4
Size of 2.0=8 /* because of double*/

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the functions to open and close the file in c language?

1089


Differentiate Source Codes from Object Codes

1665


How can I automatically locate a programs configuration files in the same directory as the executable?

1238


Explain the properties of union. What is the size of a union variable

1248


i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none

1125


write a program to display all prime numbers

2024


What are two dimensional arrays alternatively called as?

1247


What does sizeof int return?

1137


When is a void pointer used?

1316


What math functions are available for integers? For floating point?

1187


Explain can static variables be declared in a header file?

1204


When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?

1121


What are the differences between new and malloc in C?

1210


what is ur strangth & weekness

2528


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

4019