Site icon Exam4Training

What is the expected output of the following code?

What is the expected output of the following code?

A . 4
B . 10
C . Nothing gets printed.
D . The code is erroneous.

Answer: B

Exit mobile version