Can i write this <<puts("%d %f %c",2,3+2,ab); >> without holding integers or constants? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can i write this <<puts("%d %f %c",2,3+2,ab); >> without holding integers or constants?

If not, then why!! Please explain by mentioning the output too..

12th May 2020, 3:49 PM
Dark AR
Dark AR - avatar
1 Answer
0
Did you mean printf()? puts() only acccepts one parameter AFAIK, and that, usually be a string to be printed (no formatting is supported).
14th May 2020, 8:39 AM
Ipang