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 |
Can comments be longer than one line?
Which is the best c++ compiler for beginners?
Can turbo c++ run c program?
Why do we use double in c++?
What is a sequence in c++?
What is time_t c++?
write a program in c++ to implement stack using functions in header file stack.h
What is conversion constructor?
what you know about c++?
What is a virtual destructor? Explain the use of it?
What is your strongest programming language (Java, ASP, C, C++, VB, HTML,C#, etc.)?
24 Answers Infosys, Microsoft, TCS,
Explain the benefits of proper inheritance.