How many bytes are required for character variable in declaration?
a) 1 byte
b) 2 bytes
c) 4 bytes
d) 5 bytes
Which of the following is correct format variable declaration?
a) datatype variable name;
b) variable name datatype
c) variable name datatype;
d) none of these
How many variables of same datatype can be declared in a single statement?
a) one variable
b) many variables
c) both a & b
d) none of these
The process of assigning a value to variable is called…….
a) initialization
b) declaration
c) specification
d) none of these
Which of the following operator is used to initialize a variable?
a) NOT operator
b) assignment operator
c) AND operator
d) OR operator
Explanation: Assignment operator is =
Which of the following is the correct format for initialization?
a) int a==3
b) int a=3
c) int a=3;
d) int a==3.
Fundamental Datatype in C++