Answer the following statements true (T) or false (F)

1. Global variables are initialized to zero by default.
2. Local variables are initialized to zero by default.
3. It is not considered good programming practice to declare all your variables globally.
4. You may use the exit() function to terminate a program, regardless of which control mechanism is executing.


1. T
2. F
3. T
4. T

Computer Science & Information Technology

You might also like to view...

The printf() message automatically advances the cursor to the next line.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

A(n) ________is an extension of a cell reference and provides a way to identify commonly used cell references or ranges

Fill in the blank(s) with correct word

Computer Science & Information Technology

Microsoft Office Sway allows you to add interactive content to your presentation

Indicate whether the statement is true or false

Computer Science & Information Technology

Applying a format to a range of cells in a grouped worksheet will ________

A) produce a warning that the worksheets are grouped B) do nothing C) apply the same formatting to all worksheets in the group D) apply the format only to the visible range of cells

Computer Science & Information Technology