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

Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.

1045


What are compound statements?

1082


What is a null string in c?

985


What is sizeof return in c?

976


Why is c called a mid-level programming language?

1147


What does typeof return in c?

1018


What is hash table in c?

966


Why do we use null pointer?

986


A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none

1144


What is the acronym for ansi?

995


what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?

1798


Do string constants represent numerical values?

1320


How can type-insensitive macros be created?

1126


What is structure of c program?

1071


Explain how can you determine the size of an allocated portion of memory?

1033