• Home
  • Correct way to assign values to variable c when int a=12, float b=3.5,int c;
Question 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)

These questions are from this test. Would you like to take a practice test?

C Sharp Quiz 3 | Englishfreetest.com