Which of the following declare an array of 5 characters, and initializes them to some known values?
a. char array[5]={'a','b','c','d','e'};
b. char array[4]={'a','b','c','d','e'};
c. char array[5]={''};
d. char array[]={'a','b','d','e'};
e. A and C
f. B and D
g. all of the above
e. A and C
You might also like to view...
What is the output of the following program fragment?
cout << static_cast
Choose a set of transactions for an application of your choice (other than a banking or student registration system). For each isolation level weaker than SERIALIZABLE, give an example of a schedule that produces an erroneous situation.
What will be an ideal response?
The ____________ operator is used to dynamically allocate memory and construct an object; this operator returns a pointer to the object.
Fill in the blank(s) with the appropriate word(s).
Which of the following is not a possible value for the VALIGN attribute?
(a) top (b) center (c) bottom (d) baseline