Multiple Choice
Consider the following function: void reverse(char *string1, const char *string2)
{
Int stringsize{sizeof(string1) /sizeof(char) };
*(string1 + stringsize - 1) = '\0';
String1 = string1 + stringsize - 2;
For (; *string2 != '\0'; string1--, string2++) {
*string1 = *string2;
}
}
What technique does the function use to refer to array elements?
A) Array subscript notation.
B) Pointer/offset notation where the pointer is actually the name of the array.
C) Pointer subscript notation.
D) Pointer/offset notation.
Correct Answer:

Verified
Correct Answer:
Verified
Q11: The & operator can be applied to:<br>A)
Q12: Which of the following statements about pointer
Q13: Which of the following can have a
Q14: All of the following can cause a
Q15: Pointers may be assigned which of the
Q17: Which of the following gives the number
Q18: getline(superstring, 30); is equivalent to which of
Q19: Given a built-in array of ints named
Q20: Which of the following is not a
Q21: A function that prints a string by