Home > Back-end > C language subject explanation question, hope I can speak detailed points, thank you!
C language subject explanation question, hope I can speak detailed points, thank you!
Time:06-10
(1) explain statement the scanf (" % s ", address values); What is the role and meaning?
(2) the explain statement printf (" % s ", address values); What is the role and meaning?
(3) the explain statement STRCMP (str1, str2); What is the role and meaning?
CodePudding user response:
The scanf (" % s ", address values); Enter a value, says it will enter into the address % s the value of the way the string in the Explain statement printf (" % s ", address values) Print the value of content, according to the print of the string STRCMP (str1, str2) Compares two strings str1 and str2 If the str1 and str2 same, returns 0 If the str1 & lt; Str2, returns a negative number Str2 & gt; Str2, return a positive number
CodePudding user response:
1 obtain input string data 2 standard output string data 3 data to compare two strings
CodePudding user response:
You're missing a copy of the document, are in the document,