Like us on Facebook

News: If you feel any problem while posting a topic or Reply - Contact our server team at: +92-341-2825535

Post reply

Message icon:

Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
type: "Pakistan" without quotes:

shortcuts: hit alt+s to submit/post or alt+p to preview

Topic Summary

Posted by: mechanic
« on: September 06, 2017, 11:03:14 AM »

Question: The following program fragment

int i = 107, x = 5;
printf((x > 7)? "%f" : "%c" , i);

Results in?

Options are:

A. an execution error
B. a syntax error
C. Printing of k
D. None of the above

Correct answer is:

C. printing of K
Follow us onWECHAT