Answer the following Question

0

admin edited question
    0
    Prashant Sharma (anonymous)

    1.1)
    Execution starts at the last begin (after (1)). Global x and y are changed to 7 and 8. Then Q is called, which changes its local x and y to 3 and 4, and then calls P. Now because we have static scoping, P changes global x to 6. Then (1) prints local x: 3. Finally, (2) prints global x:6. So A is the ans.

    Prashant Sharma answered
      0
      Er Raj Joshi (anonymous)

      wow is these question come in gate

      Er Raj Joshi answered
        0
        Sumit Yadav (anonymous)

        paper out….=D =D =D

        Sumit Yadav answered
          0
          Lokendra Rajput (anonymous)

          option a is correct

          Lokendra Rajput answered
            0
            Rvj Bot (anonymous)

            Option a.

            Rvj Bot answered
              Add image to editor add image from link

              Question stats

              • Active
              • Views484 times
              • Answers0 answers
              • Followers1 follower
              Question and answer is powered by AnsPress