Programming 01

🟢 Վարժություն 7

Ի՞նչ կպտվի էկրանին։
#include <iostream>
int main() {
  int arr[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
  int* p = arr;
  std::cout << *(p+1) << " " << *(arr+9);
}
 
To check your solution you need to sign in
Sign in to continue