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

int x,y,b;
char a;
x=sizeof(y);
b=sizeof(a);
printf("the size of int is %d & the size of char is
%d",x,b);

Is This Answer Correct ?    20 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the hardest programming language?

1112


Where local variables are stored in c?

971


Why does everyone say not to use gets?

1051


please send me the code for multiplying sparse matrix using c

2135


What is the best style for code layout in c?

1068


Are pointers integer?

972


pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2605


How do you override a defined macro?

1229


What is meant by keywords in c?

1045


Can a file other than a .h file be included with #include?

1117


Is Exception handling possible in c language?

2011


Explain the concept and use of type void.

1074


Function calling procedures? and their differences? Why should one go for Call by Reference?

1059


How can I copy just a portion of a string?

1285


Explain what is the most efficient way to store flag values?

1188