Which of the following input statements does not correctly read a string?
A. scanf("%s", str);
B. scanf("%.30s", str);
C. scanf("%30s", str);
D. scanf("%*s", str);
E. scanf("%*30", str);
Answer: B
Computer Science & Information Technology
You might also like to view...
A void function is one that
A) does nothing useful. B) has an empty function body. C) has no parameters. D) returns no value. E) returns a zero or null character.
Computer Science & Information Technology
When a method returns nothing, it is known as a(n) ____________________ method.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology
A program uses selection to implement a branch.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology
Can you rotate objects with the Move tool?
Quiz Questions What will be an ideal response?
Computer Science & Information Technology