Top

Discussion

The output of the code below is

int *m()
    {
        int *p = 5;
        return p;
    }
    void main()
    {
        int *k = m();
        printf("%d", k);
    }

 

  • A.5
  • B.7
  • C.Junk value

Answer: A

No answer description available for this question.

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

Post your comment