Register
 

Free CSC Scholarship support for 2018-19

Engineering, Computer, Scholarship and SEO Support Forum




Author Topic: printf{"%c", 100};  (Read 689 times)

Online mechanic

  • Engineer
  • Hero Engineer
  • *****
  • Posts: 3076
    • View Profile
    • Engineering Forum
printf{"%c", 100};
« on: February 26, 2017, 08:11:59 PM »
Advertisement
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


Engineering, Computer, Scholarship and SEO Support Forum

printf{"%c", 100};
« on: February 26, 2017, 08:11:59 PM »