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

Ի՞նչ կտպվի էկրանին։

#include <iostream>
int* foo() {
   int x = 10;
   return &(x);
}

int main() {
   std::cout << foo();
}

To check your solution you need to sign in
Sign in to continue