Top

Discussion

What is the output of this C code?

int main()
{
int *ptr, a = 10;
ptr = &a;
*ptr += 1;
printf("%d,%d/n", *ptr, a);
}

 

  • A.10,10
  • B.10,11
  • C.11,10
  • D.11,11

Answer: D

No answer description available for this question.
 

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

Post your comment