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

How can you find the day of the week given the date?

1150


What is a union?

991


Explain void pointer?

977


what does static variable mean?

1054


A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile

1055


Give basis knowledge of web designing ...

1983


Implement bit Array in C.

1098


A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

1121


What does the message "automatic aggregate intialization is an ansi feature" mean?

1146


What do you mean by keywords in c?

1086


What does p mean in physics?

992


What is a scope resolution operator in c?

1209


What is main () in c language?

1080


How is a structure member accessed?

1062


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

1267