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

Write a simple program to find the size of different basic
data types in C.

Answer Posted / jugad

#include
#include
int main()
{
printf(“%d %d %d %d”,sizeof(int),sizeof(unsigned
int),sizeof(float),sizeof(char));
getch();
return 0;
}

courtesy:http://answerwale.co.cc/?p=23

Is This Answer Correct ?    21 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In a header file whether functions are declared or defined?

1133


What is a pragma?

1135


What does d mean?

1104


What are the advantages of using new operator as compared to the function malloc ()?

1357


What was noalias and what ever happened to it?

1049


Explain what header files do I need in order to define the standard library functions I use?

1177


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

1106


Can you subtract pointers from each other? Why would you?

966


Why does notstrcat(string, "!");Work?

1156


how to find binary of number?

4462


What does the c preprocessor do?

1117


What is static memory allocation? Explain

1107


What does c mean before a date?

1192


What is the method to save data in stack data structure type?

1097


When should volatile modifier be used?

1023