+ 2
Pls explain line number 5 & 6 in the given code 🙏
Unable to understand the output shown....and working of printf("%d",printf("%d",a)) https://code.sololearn.com/cPERgpwreCIJ/?ref=app
5 Antworten
+ 5
The printf() function will return the number of characters printed.
\n is one character
So "1", "0","\n" is 3
+ 1
STATEMENT 5 PRINTF WITH IN PRINTF : THE FIRST PRINTF DISPLAY VALUE OF A 10 AND SECOND PRINT PRINTS NO OF DIGITS IN NUMBER 2
RESULT = 102
STATEMENT 6 PRINTF DISPLAYS VALUE 102 AND ++B WILL INCREASE VALUE BY 1 BEFORE ADDITION
SO THE CALCULATION IS
102+6
RESULT = 108
0
Paul can u pls help me ....
0
Thanks Gordon
0
thanks sree harsha