Single Choice Not Set

QWhat is the output of this C code?
    int main()
    {
        int i = 10;
        int *p = &i;
        printf("%d\n", *p++);
    }

ID: #1260 Pointer in C Language 2,330 views
Question Info
#1260Q ID
Not SetDifficulty
Pointer in C LanguageTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Garbage value
  • B 10
  • C 11
  • D Address of i
Correct Answer

Explanation

Option B

Share This Question

Challenge a friend or share with your study group.