adplus-dvertising
frame-decoration

Question

Result of the execution of the following "C" program fragment is
int i= 107,x =5;
printf((x>7)?"%d";"%c";i))

a.

An execution error

b.

A syntax error

c.

Printing of k

d.

Garbage Value

Posted under C Programming

Answer: (c).Printing of k

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Result of the execution of the following "C" program fragment is