Which one of the following is not a valid identifier in C++?()
A. myName
B. little
C. X123Y
D. Go Home
E. IdEnTiFiEr
查看答案
Which of the following is a legal string assignment?()
A. "name" = Jones;
B. name = "Jones";
C. name = 'D' + "Jones";
D. b and c above
Which of the following can be assigned to a char variable?()
A. 't'
B. '2'
C. '$'
D. All of the above
Which assignment statement could be used to store the letter A into the char variable someChar?()
A. someChar = "A";
B. someChar = A;
C. someChar = 'A';
D. a and b above
E. a, b, and c above
In C++, the phrase "standard output device" usually refers to:()
A. the keyboard
B. a floppy disk drive
C. the display screen
D. a CD-ROM drive
E. none of the above