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 that no is int or float?

Answer Posted / prabhat

if(sizeof(no)==2)
cout<<"Integer";
else if(sizeof(no)==4)
cout<<"Float";

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

a program that can input number of records and can view it again the record

1918


Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me

1952


How does pointer work in c?

1124


What does printf does?

1248


What are variables c?

1055


What is pragma c?

1122


What is hungarian notation? Is it worthwhile?

1225


Is main a keyword in c?

1138


Where are some collections of useful code fragments and examples?

1164


What is the difference between NULL and NUL?

1293


Write program to remove duplicate in an array?

1083


What does static variable mean in c?

1108


What is a c token and types of c tokens?

1069


What is keyword in c?

1015


What is realloc in c?

1113