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 / rajesh gooda

ptr manipulation will return 1.

printf("size of int is %d",(int)((int*)0 + 1))

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can a program be made to print the name of a source file where an error occurs?

1191


What is the maximum length of an identifier?

1184


What is an operator?

1068


Write a Program to accept different goods with the number, price and date of purchase and display them

6228


How can you convert integers to binary or hexadecimal?

1022


What is the use of getch ()?

1075


List the difference between a While & Do While loops?

1095


Explain how can you restore a redirected standard stream?

1095


Explain how can I make sure that my program is the only one accessing a file?

1217


Why isnt there a numbered, multi-level break statement to break out

1040


can we have joblib in a proc ?

2299


What are the types of type specifiers?

1033


writ a program to compare using strcmp VIVA and viva with its output.

2013


What is a volatile keyword in c?

1161


What is this pointer in c plus plus?

1080