Top

Discussion

What is the output of this C code?

#include 
    void main()
    {
        int x = 0;
        int *ptr = &x;
        printf("%d\n", *ptr);
    }

 

  • A.Address of x
  • B.Junk value
  • C.Run time error

Answer:

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

Post your comment