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 / amit ranjan

int main()
{
int a[2];
int one = a;
int two = a+1;
int test = two-one;
printf("%d\n", test);
return 0;
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to generate the Fibinocci Series

1174


Explain union.

1122


What is a void pointer in c?

1051


Why should I prototype a function?

1133


How many keywords are there in c?

1033


Are the variables argc and argv are local to main?

1266


Explain what is a program flowchart and explain how does it help in writing a program?

1060


What is the use of #include in c?

1040


How many types of operators are there in c?

991


Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?

1032


What is the use of header files?

1065


Why is it important to memset a variable, immediately after allocating memory to it ?

2011


What is the difference between the = symbol and == symbol?

1065


What is the correct code to have following output in c using nested for loop?

1034


What is c language & why it is used?

1048