How to use putchar() in printf statment.. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to use putchar() in printf statment..

C programming

9th Feb 2020, 4:38 AM
ARAVINDH
ARAVINDH - avatar
2 Answers
+ 2
But why you want to use `putchar` inside `printf`? can you elaborate more on this thought? * Please tag C (specific language) 👍
9th Feb 2020, 4:41 AM
Ipang
+ 1
You mean something like this: char a = 'c'; printf("%c",a); ?
9th Feb 2020, 5:51 AM
Igor Kostrikin
Igor Kostrikin - avatar