✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
#include <iostream>
using namespace std;
int main() {
int arr[] = {10, 20, 30, 40};
int *ptr = arr;
cout << *(ptr + 2);
return 0;
}