- 1
EXPLAIN PLS
Explain the code please https://code.sololearn.com/cCPK8Bdbn5ci/?ref=app
4 odpowiedzi
+ 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);
+ 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.
0
U explain the output ''11''
0
Ohhhh so the output is 11 thanks man