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

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