Top

Discussion

What is the output of this C code?    

void main()
    {
        int x = 4;
        int *p = &x;
        int *k = p++;
        int r = p - k;
        printf("%d", r);
    }

 

  • A.4
  • B.8
  • C.1
  • D.Run time error

Answer: C

No answer description available for this question.

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

Post your comment