Consider the following int a = 10; float b = 4; cout << a/b; We know that the result is 2.5 a float. What type of conversion is this?
A. type promotion
B. type casting
C. explicit coversion
D. None of these
Answer:A
Consider the following int a = 10; float b = 4; cout << a/b; We know that the result is 2.5 a float. What type of conversion is this?
A. type promotion B. type casting C. explicit coversion D. None of these