If S is an array of 80 characters, then the value assigned to S through the statement scanf(“%s”,S) with input 12345 would be A. “12345” B. nothing since 12345 is an integer C. S is an illegal name for a string D. %s cannot be used for reading in values of S Answer Workspace Report Discuss Answer with explanation Answer: Option A Explanation scanf(“%s”, S) only scans first parameter of input stream Workspace
Discuss about the question