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

What are reserved words with a programming language?

1055


The difference between printf and fprintf is ?

1213


What is a volatile keyword in c?

1112


State the difference between x3 and x[3].

1052


Explain how to reverse singly link list.

1073


A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

1674


In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?

1171


How do I copy files?

1001


How can I read a binary data file properly?

1077


Explain pointer. What are function pointers in C?

1016


What is a structure member in c?

956


How do I use strcmp?

1024


Can we compile a program without main() function?

1076


What is conio h in c?

1002


why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above

1070