Question.1
A developer writes:
auto x = 10; auto y = 3.14f; auto z = x + y;
What types are deduced?
Select Answer
x=int, y=float, z=float
x=int, y=double, z=double
All three are int
Compilation error -- auto cannot be used with arithmetic