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++?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program that withdrawals,deposits,balance check,shows mini statement. (using functions,pointers and arrays)

2475


How does the copy constructor differ from the assignment operator (=)?

1194


Mention the ways in which parameterized can be invoked. Give an example of each.

1113


Which software is used to run c++ program?

1045


What is data types c++?

1069


What is searching?

1194


What is setw manipulator in c++?

1125


What is the use of structure in c++?

1081


What are the different types of polymorphism in c++?

1195


Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?

1121


Do you know what are static and dynamic type checking?

1104


declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator

2408


What is difference between malloc()/free() and new/delete?

1223


Can non-public members of another instance of the class be retrieved by the method of the same class?

1123


What ANSI C++ function clears the screen a) clrscr() b) clear() c) Its not defined by the ANSI C++ standard

1089