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

How can I use a preprocessorif expression to ?

1110


Explain built-in function?

1188


What is an lvalue?

1107


c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above

1320


What’s a signal? Explain what do I use signals for?

1156


What is void pointers in c?

1066


What is difference between far and near pointers?

1105


Which node is more powerful and can handle local information processing or graphics processing?

1370


How pointer is different from array?

1146


what is stack , heap ,code segment,and data segment

2764


What is null pointer in c?

1044


What header files do I need in order to define the standard library functions I use?

1118


What is pointer to pointer in c language?

1211


What does s c mean in text?

1146


Explain what standard functions are available to manipulate strings?

1126