Top

Discussion

What is the output of this C code?

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

 

  • A.4
  • B.Compile time error
  • C.Undefined

Answer: B

No answer description available for this question.

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

Post your comment