Which of these array definitions will set all the indexed variables to 0?
a) int array[5];
b) int array[5] = {0};
c) int array[5] = {0,1,2,3,4};
d) int array[5] = {0,0,0};x
>>What is the x?
e) int array[5] = {0,0,0,0,0};x
>>What is the x?
b) int array[5] = {0}; ,
d) int array[5] = {0,0,0};x
>>What is the x?
and
e) int array[5] = {0,0,0,0,0};x
>>What is the x?
b) and d) explicitly initialize some of the indexed variables to 0. The rest are automatically set to 0. Part a) leaves the indexed variables with garbage in them. Part c) sets array[0] to 0, array[1] to 1, array[2] to 2, etc.
You might also like to view...
A subform can contain another subform.
Answer the following statement true (T) or false (F)
Some of the responsibilities of a(n) ________ are installing new hardware and software on the network and monitoring performance
A) programmer analyst B) computer technician C) IT manager D) network administrator
A placeholder reserves spaces in the letter for the actual data that will be inserted when the letter is merged with the data source
Indicate whether the statement is true or false
Answer the following statement(s) true (T) or false (F)
Most organizations keep e-mail for longer than 90 days.