What is the variable type for each of the following declarations?
a. auto cars = 15;
b. auto iou = 150.37f;
c. auto level = 'B';
d. auto crat = U'/U00002155';
e. auto fract = 8.25f/2.5;
Ans:
a. int
b. float
c. char
d. char32_t
e. double
a. auto cars = 15;
b. auto iou = 150.37f;
c. auto level = 'B';
d. auto crat = U'/U00002155';
e. auto fract = 8.25f/2.5;
Ans:
a. int
b. float
c. char
d. char32_t
e. double
0 Questions:
Post a Comment