+ 1

What are the other data types for variable other that integer??

Also give an example .

26th Mar 2020, 8:35 AM
NIGHT STAR
NIGHT STAR - avatar
1 Answer
+ 2
• For storing numbers. Integer e.g. 56 Float/Double e.g. 56.357 • For either true or false: Boolean e.g. True/False • For sentences: String e.g. "Hello World!" Character/Char is there in C++, which is like string but stores only one character.
26th Mar 2020, 8:59 AM
maf
maf - avatar