The variable secnum is ____.int main(){  int secnum;  . . .}

A. local to main()
B. global to main()
C. local to the program
D. global to the program


Answer: A

Computer Science & Information Technology

You might also like to view...

When an array is sorted in descending order, the first element in the array contains the largest value and the last element contains the smallest value.

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

Computer Science & Information Technology

The transactions T and U at the server are defined as follows:

T: x= read (i); write(j, 44);
U: write(i, 55);write(j, 66);
Initial values of ai and aj are 10 and 20. Which of the following interleavings are serially equivalent and which could occur with two-phase locking?

Computer Science & Information Technology

Which of the following protocols enables packets to be routed on LANs and WANs?

A. IP B. TCP C. DNS D. FTP

Computer Science & Information Technology

Data for programs that are going to be executed only once should never be included directly in the program.

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

Computer Science & Information Technology