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

how to find the sizof of any datatype using bit manipulations

Answer Posted / jvhariharan

void main()
{
int a,b;
a=sizeof(int);
b=sizeof(char);
pf("int:%d char:%d",a,b);
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why doesnt long int work?

1100


What are reserved words with a programming language?

1209


why we wont use '&' sing in aceesing the string using scanf

2427


What is formal argument?

1191


What is wrong with this code?

1242


Can the sizeof operator be used to tell the size of an array passed to a function?

1177


What is the heap in c?

1125


What is the general form of #line preprocessor?

1039


How can I write a function that takes a format string and a variable number of arguments?

1103


Who invented bcpl language?

1248


Why void main is used in c?

1104


What is structure data type in c?

1069


Write the control statements in C language

1281


Explain the difference between exit() and _exit() function?

1213


Is int a keyword in c?

1037