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

Why should I use standard library functions instead of writing my own?

1221


What is meant by recursion?

1010


What is the difference between declaring a variable by constant keyword and #define ing that variable?

3304


What is volatile variable in c with example?

1009


What is the best way to comment out a section of code that contains comments?

1281


What is sizeof c?

1013


Difference between exit() and _exit() function?

1086


How many data structures are there in c?

1076


What is the translation phases used in c language?

1079


Is c# a good language?

975


Are comments included during the compilation stage and placed in the EXE file as well?

1041


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

1131


Explain how do I determine whether a character is numeric, alphabetic, and so on?

1101


What are the types of data types and explain?

1045


What is a shell structure examples?

1048