Variables And Data Types In C Plus Plus - Study Mode

[#56] What is the correct keyword to declare a variable in C++?
Correct Answer

(C) int

[#57] Which of the following is a valid variable name in C++?
Correct Answer

(A) myVariable

[#58] Which of the following is not a primitive data type in C++?
Correct Answer

(C) string

[#59] What is the maximum value that can be stored in an 'int' data type in C++?
Correct Answer

(B) 2147483647

[#60] What is the size of a 'char' data type in C++?
Correct Answer

(C) 1 byte