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 the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above

1098


Can static variables be declared in a header file?

1027


Why is c so popular?

1130


Explain union. What are its advantages?

1038


How can you determine the maximum value that a numeric variable can hold?

1184


How important is structure in life?

1044


please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com

1739


Why #include is used in c language?

1013


What is string function in c?

960


Compare array data type to pointer data type

981


How are structure passing and returning implemented?

1007


Write a program in c to replace any vowel in a string with z?

1091


How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?

1046


Do string constants represent numerical values?

1346


In which language linux is written?

1191