61. To delete the dynamically allocated array, to which‘p’
points, use the statement
delete [] p;
T__ F__
62. The binary search is more efficient than the linearsearch
because the values in the array are not required to be inorder,
sorted.
T__ F__
63. Which statement correctly declares and initializes a C-string?
a. string array[ 13 ] = Chapter nine;
b. char array[]{“Chapter nine”};
c. int array[ 8 ] = “Chapter nine”;
d. char array = ‘Chapter nine’;
e. None of the above
64. The following code-segment displays 4:
char dog[]{“Fido”};
cout << strlen(dog) << endl;
T__ F__
65. The following code-segment is syntactically incorrect:
char string[]{“Stop”};
if (isupper(string) == “STOP”)
cout << “true”;
T__ F__
66. The following code-segment
PayPal Gateway not configured
PayPal Gateway not configured