MCQ Single Best Answer Not Set

QWhat will be the output of the following program?
void main()
{
int const *p = 5;
Printf("%d", ++(*p));
}

ID: #1269 Pointer in C Language 832 views
Question Info
#1269Q ID
Not SetDifficulty
Pointer in C LanguageTopic

Choose the Best Option

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

  • A 5
  • B 6
  • C Compiler error
  • D Unexpected results
Correct Answer: Option C

Explanation

Compiler error

Share This Question

Challenge a friend or share with your study group.