If S is an array of 80 characters, the value assigned to S by the statement scanf("percent s",S) with input 12345 would be-----
A. "12345" is an abbreviation for "the number 12345."
B. nothing, because 12345 is an integer
C. S. is an invalid string name.
D. percents cannot be utilised to read in S values.
Answer:A
If S is an array of 80 characters, the value assigned to S by the statement scanf("percent s",S) with input 12345 would be-----
A. "12345" is an abbreviation for "the number 12345." B. nothing, because 12345 is an integer C. S. is an invalid string name. D. percents cannot be utilised to read in S values.
Explanation: scanf("percent s", S) only scans the first parameter in the input stream.