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...


What are the different types of variables in C++?



What are the different types of variables in C++?..

Answer / nashiinformaticssolutions

The memory size and arrangement of a variable, the values that can be stored there, and the actions that can be performed on the variable are all determined by the kind of variable. In C++, /* 0some of the primary variable types are:
Char is used to hold single characters.• integers are stored int.
• float: holds values in floating-point format.
• double: doubles the precision of float by storing floating-point numbers.
• void: denotes the lack of a type.
The value stored in a bool is either "true" or "false."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What is the size of pointer ? Also size of pointer in 64 bit pointer

4 Answers  


What are the various compound assignment operators in c++?

0 Answers  


What is a catch statement?

0 Answers  


What is the C-style character string?

0 Answers  


What can I safely assume about the initial values of variables which are not explicitly initialized?

0 Answers  


What is the difference between the functions rand(), random(), srand() and randomize()?

0 Answers  


How to allocate memory dynamically for a reference?

0 Answers  


Does improper inheritance have a potential to wreck a project?

0 Answers  


check whether a no is prime or not.

3 Answers   TCS,


What is the difference between function overloading and operator overloading?

0 Answers  


What is #include sstream?

0 Answers  


write a c++ program that gives output 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 using looping statement

2 Answers  


Categories