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

Offline mechanic

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 Forum

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