Programming 01

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

Ի՞նչ կտպվի էկրանին։
#include <iostream>
int main() {
  int a = 5;
  int c = 10;
  int* p = &c;
  *p = a;
  std::cout << a << " " <<  c << " " <<  *p;
}
 
To check your solution you need to sign in
Sign in to continue