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
Define vptr.
How the keyword struct is different from the keyword class in c++?
Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?
What are the types of array in c++?
what is oops and list its features in c++?
Write some differences between an external iterator and an internal iterator?
Implement stack operations with pointers with appropriate exception checks.
what is COPY CONSTRUCTOR and what is it used for?
What is the history of c++?
What is wrapper class in c++?
What are the four partitions in which c++ compiler divides the ram?
Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. Your program should work for squares of all side sizes between 1 and 20. --- │ │ │ │ │ │ ---
What do you know about near, far and huge pointer?
Why do we use double in c++?
What is object in c++ example?