If printf statement is assigned to a variable. After the excecution of that printf statement what will be the value of variable | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

If printf statement is assigned to a variable. After the excecution of that printf statement what will be the value of variable

Eg: x=printf("how are you") ;

12th May 2020, 4:13 PM
Reshma Sai
Reshma Sai - avatar
1 Answer
+ 2
The function printf returns the number of characters printed.
12th May 2020, 4:16 PM
HonFu
HonFu - avatar