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 nested functions in c?

1076


my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?

1650


How many levels of pointers can you have?

1251


What is typeof in c?

1064


Write a program to print fibonacci series without using recursion?

1226


main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }

1511


What is volatile variable in c with example?

1091


What is the difference between scanf and fscanf?

1346


How can my program discover the complete pathname to the executable from which it was invoked?

1121


List some of the dynamic data structures in C?

1306


What does dm mean sexually?

1386


Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

2251


Using which language Test cases are added in .ptu file of RTRT unit testing???

4356


What are pointers? What are stacks and queues?

1222


What is "Duff's Device"?

1223