Q57
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);
AnswerD.
c = int(a + b);
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board