Ի՞նչ կտպվի էկրանին։
#include <iostream> void foo(int* &x) { x = new int(0); } int main() { int y = 100; int* x = &y; foo(x); std::cout << *x; }