Q:

What is the output of following program?

0

What is the output of following program?


  1. x = 2 count = 0 x = 2.2 count = 0 x = 2.2 count = 0
  2. x = 2 count = 0 x = 2 count = 0 x = 2.2 count = 0
  3. x = 2 count = 0
    x = 2 count = 1
    x = 2.2 count = 0
  4. x = 2 count = 0 x = 2 count = 1 x = 2.2 count = 2

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (c).x = 2 count = 0
x = 2 count = 1
x = 2.2 count = 0

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now