Top

Discussion

What is the output of this C code?

static int x = 5;
    void main()
    {
        x = 9;
        {
            int x = 4;
        }
        printf("%d", x);
    }

 

  • A.9
  • B.4
  • C.5

Answer: A

No answer description available for this question.

No comment is present. Be the first to comment.
Loading…

Post your comment