1.

Correct way to assign values to variable ‘c’ when int a=12, float b=3.5,int c?#

A. c = a + b;
B. c = a + int(float(b));
C. c = a + convert.ToInt32(b);
D. c = int(a + b);
Answer» D. c = int(a + b);


Discussion

No Comment Found

Related MCQs