How can I print a "%" character in a in between the string foo and the value held in the variable foo using printf format string?A. fprintf("foo " "%" "%dn", foo);B. fprintf("foo '%' %dn", foo);C. fprintf("foo % %dn", foo);D. fprintf("foo " "%dn", foo);
-
Interview Candidate
- Jun 19th, 2005
- 4
- 5302
Showing Answers 1 - 4 of 4 Answers
How can I print a "%" character in a in between the string foo and the value held in the variable foo using printf format string?A. fprintf("foo " "%" "%dn", foo);B. fprintf("foo '%' %dn", foo);C. fprintf("foo % %dn", foo);D. fprintf("foo " "%dn", foo);