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

Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..

998


Who invented bcpl language?

1134


How do you determine the length of a string value that was stored in a variable?

1096


Tell me when is a void pointer used?

1119


main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }

1101


Why do we use & in c?

958


How can I use a preprocessorif expression to ?

1013


What is difference between union and structure in c?

1087


What is int main () in c?

1039


Write a program to print factorial of given number using recursion?

969


What are the 4 types of programming language?

1069


Differentiate between full, complete & perfect binary trees.

1060


In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.

1810


Who developed c language?

1050


What is const volatile variable in c?

998