What is the expected behavior of the following code?

Posted by: Pdfprep Category: PCAP-31-03 Tags: , ,

What is the expected behavior of the following code?

A . it outputs 1
B . it outputs 0
C . it raises an exception
D . it outputs 2

Answer: C

Comments (2)

  • Vikas Reply

    B is correct

    August 25, 2021 at 4:25 am
  • disturbed Reply

    B is the correct answer

    August 4, 2021 at 2:17 pm

Leave a Reply

Your email address will not be published.