adspace


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

What is the latest version on c++?

1217


daily Routine of father

1492


What character terminates all character array strings a) b) . c) END

1403


How c functions prevents rework and therefore saves the programers time as wel as length of the code ?

1172


Can union be self referenced?

1279