How do you initialize a C-string called Cheer which will contain “Hooray” (without the quotes.) ?
A. char Cheer[7] = {‘H’, ‘o’, ‘o’, ‘r’, ‘a’, ‘y’, ‘\0’};
B. char Cheer[7] = “Hooray”;
C. char cheer[7] = “Hooray”;
D. A and B
D. A and B
You might also like to view...
Which of the following is a valid function prototype?
float some function ( ); b) void nothing; c) int (int thing); d) void something ( );
When a procedure produces incorrect results, a ____ error has occurred.
A. logic B. syntax C. run-time D. design
Bianca is helping her boyfriend, Otto, study for a test in Computer Applications. The test will cover Photoshop, and while Otto has a firm grasp on most of the material, he can't seem to get the basics of using gradients. Bianca tells Otto that the Gradient tool is fairly easy to use, and that it works by ____.
A. opening, clicking, and choosing B. selecting, dragging, and swatching C. clicking, dragging, and releasing D. pointing, clicking, and dragging
The item marked 6 in the accompanying figure is the Frame Rate indicator.
Answer the following statement true (T) or false (F)