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

Explain how do you generate random numbers in c?

1082


What is the function of multilevel pointer in c?

1084


why do some people write if(0 == x) instead of if(x == 0)?

1069


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

1198


What are register variables in c?

1010


I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.

2364


Who is the main contributor in designing the c language after dennis ritchie?

998


why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above

1153


How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?

1030


A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles

1175


What is time null in c?

1069


What's the total generic pointer type?

1052


What is wild pointer in c?

1069


Differentiate between full, complete & perfect binary trees.

1091


Explain Function Pointer?

1164