Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - C language program output results of doubt! Ask the master to answer!
C language program output results of doubt! Ask the master to answer!
the format requirement in the p>scanf statement is: name=%s ,num=%d, but what you actually entered is: name = lilinum = 11 <; Enter > Without the comma in the middle, the following num=11 will not send 11 to the %d after num, and all num have no value, which is a random number. And enter name=Lili, the system takes the middle space as the terminator of the string, and sends Lili into %s after name=, so the value of name is Lili.

so, choose a.