- 1

EXPLAIN PLS

Explain the code please https://code.sololearn.com/cCPK8Bdbn5ci/?ref=app

5th Feb 2021, 8:06 AM
Sreenesh
Sreenesh - avatar
4 Respuestas
+ 3
printf() returns an int that indicates the number of characters printed. So first, the inner printf() prints "1", which is 1 character and thus returns 1. The outer printf() prints the value inner returns. Basically like this: int a = 1; int t = printf("%d", a); //t = 1 printf("%d, t);
5th Feb 2021, 8:52 AM
你知道規則,我也是
你知道規則,我也是 - avatar
+ 2
Sreenesh check this . https://www.tutorialspoint.com/return-values-of-printf-and-scanf-in-c#:~:text=The%20printf()%20function%20is,it%20returns%20a%20negative%20value.
5th Feb 2021, 8:27 AM
Abhay
Abhay - avatar
0
U explain the output ''11''
5th Feb 2021, 8:49 AM
Sreenesh
Sreenesh - avatar
0
Ohhhh so the output is 11 thanks man
5th Feb 2021, 5:16 PM
Sreenesh
Sreenesh - avatar