[SOLVED]Explain How it works?

In a challenge of C language I came across a quiz and found this question about guess the output... but I can't understand how the output is 01 If anyone knows please explain https://code.sololearn.com/cgTpuWsMPbm4/?ref=app

4/4/2019 2:01:19 PM


2 Answers

New Answer


printf("0"); will print "0" and return the number of characters that were printed (1 character). The return value is stored in n and printed to the screen


Right answer thanks.. if i change to printf("0000"); it gives output 00004 Thanks again Anna