True/False
Assuming myValues is an array of int values and index is an int variable, both of the following statements do the same thing.
1. cout << myValues[index] << endl;
2. cout << *(myValues + index) << endl;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q2: A pointer can be used as a
Q3: When the less than operator (<) is
Q4: Use the delete operator only on pointers
Q5: What will the following statement output?<br>Cout <<
Q6: In C++11, the _ keyword was introduced
Q8: Every byte in the computer's memory is
Q9: In the following statement, what does int
Q10: Select all that apply. Select as many
Q11: What will the following code output?<br>Int number
Q12: Which of the following defines a unique_ptr