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

Does c have an equivalent to pascals with statement?

1002


What is the purpose of main( ) in c language?

1140


A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference

1108


Write a program to reverse a linked list in c.

1130


What language is c written?

1049


Differentiate between #include<...> and #include '...'

1052


What are header files why are they important?

1090


How can I direct output to the printer?

1321


Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?

1250


What is the use of gets and puts?

1030


What are header files in c?

1076


What does double pointer mean in c?

1174


How are 16- and 32-bit numbers stored?

1290


State two uses of pointers in C?

1057


Multiply an Integer Number by 2 Without Using Multiplication Operator

768