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 size of the data type like int,float
without using the sizeof operator?

Answer Posted / anil arya

#define SIZEOF(type) (int)&((int *)0)[1])

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 4 data types?

1024


What is s in c?

1055


What is the size of empty structure in c?

1086


Why isn't it being handled properly?

1070


What are the functions to open and close file in c language?

1208


What does the file stdio.h contain?

1071


Can you mix old-style and new-style function syntax?

1103


what is ur strangth & weekness

2437


Differentiate between calloc and malloc.

1276


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

1175


The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration

1103


C language questions for civil engineering

1722


What does stand for?

1090


What are the header files used in c language?

1055


Is it possible to pass an entire structure to functions?

998