Qmark: 1
Total Marks: 50
Vol: 8
Font: Microsoft Sans Serif
Size: 10
Time Left:46:15
Multiple Choices
(Choose 1 answer)
char name[31];scanf("%[a-zA-Z0-9]", name);
Which is the correct statement about the above code?
A. Accepts only spaces, lower case letters (in the range between 'a' and 'z') upper case letters (in the range between 'A' and 'Z') and digits (in the range '0' to '9')
B. Accepts only lower case letters (in the range between 'a' and 'z') upper case letters (in the range between 'A' and 'Z') and digits (in the range '0' to '9')
C. Accepts any characters excepts lower case letters (in the range between 'a' and 'z') upper case letters (inthe range between 'A' and 'Z') and digits (in the range '0' to '9')