What technique does the function use to refer to array elements?
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;
}
}
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.
You might also like to view...
What problem can you run into if you have two or more Hyper-V servers running on the same subnet?
A. DNS doesn't function correctly B. duplicate dynamic IP addresses C. MAC address conflicts D. Hyper-V manager contention
The demote feature allows one to move paragraphs up to a higher level when using the Outline view
Indicate whether the statement is true or false
A(n) ________ macro is created independently of other controls or objects and displays as an object in the Navigation Pane
Fill in the blank(s) with correct word
Which of the following Account lockout policy settings specifies how many times a user can type in a password incorrectly before being locked out?
a. Account lockout duration b. Account lockout threshold c. Account lockout attempts d. Account lockout counter