printf{"%c", 100};

  • 0 replies
  • 718 views
*

Offline mechanic

  • *****
  • 3098
    • View Profile
    • Engineering Forum
printf{"%c", 100};
« on: February 26, 2017, 08:11:59 PM »
Question: printf{"%c", 100};

Options are:

A. prints 100
B. prints the ASCII equivalent of 100
C. prints garbage
D. none of the above

Correct answer is:

B. prints the ASCII equivalent of 100