Home > Back-end >  Can you tell me what does it mean
Can you tell me what does it mean

Time:09-30

My small white I haven't seen this kind of writing, can you tell me the principle, while containing the scanf printf and how to use

CodePudding user response:

The scanf function is a return value if you have input the scanf function will return true

CodePudding user response:

refer to 1st floor @ big fool @ reply:
the scanf function is a return value if you have input the scanf function will return true
is not a true
The scanf said the return value is not true/false
Specific what baidu search the scanf said

CodePudding user response:

Wrong, is the while (the scanf (... ))... ; Table if the input is successful, the printf (... ); Failure is out of the while

CodePudding user response:

~ is the not mean? remember

CodePudding user response:

Printf adding a carriage returns, and you will be happy from now on,
Printf is not in the while condition, it is what is inside the loop body
This is the junk code style, spicy eyes
  • Related