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 |
Describe public access specifiers?
what is the basic concept of c++(object oriented programing)
Is recursion allowed in inline functions?
How long does it take to get good at leetcode?
when can we use virtual destructor?
7 Answers HCL, HP, Virage Logic,
Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers
Can c++ do everything c can?
How does class accomplish data hiding in c++?
What are the steps in the development cycle?
how to find the maximum of 10 numbers ?
Explain operator overloading.
What are the types of array in c++?