Answer the following statements true (T) or false (F)
1. The sprintf function is used to print string variables.
2. The function fgets will not cause buffer overflow.
3. You cannot declare a 2-dimensional array of characters the way you do for numeric data types.
4. When the function scanf is used to input a string, it ignores leading white space characters.
1. False
2. True
3. False
4. True
You might also like to view...
Which set of statements totals the items in each row of two-dimensional array items, and displays each row’s total?
a.``` for (int row = 0; row < items.length; row++) { int total = 0; for (int column = 0; column < items[row].length; column++) { total += items[row][column]; System.out.printf("Row %d's total is %d%n", row, total); } ``` b.``` int total = 0; for (int row = 0; row < items.length; row++) { for (int column = 0; column < items[row].length; column++) { total += items[row][column]; } System.out.printf("Row %d's total is %d%n", row, total); } ``` c.``` int total = 0; for (int row = 0; row < items.length; row++) { for (int column = 0; column < items[column].length; column++) { total += items[row][column]; } System.out.printf("Row %d's total is %d%n", row, total); } ``` d. ``` for (int row = 0; row < items.length; row++) { int total = 0; for (int column = 0; column < items[column].length; column++) { total += items[row][column]; } System.out.printf("Row %d's total is %d%n", row, total); } ```
Which of the following is the Align Right button?
A.
B.
C.
D.
You can convert text that has already been typed into a(n) ________ graphic
A) Clip Art B) SmartArt C) Illustrated D) WordArt
Which tab displays the tools for creating charts?
A) Chart B) Data C) View D) Insert