Programming 01

馃煝聽諑铡謤摘崭謧诈盏崭謧斩 21

曰諡斩展 寨湛蘸站斋 乍寨謤铡斩斋斩謮
#include <iostream>
int* foo() {
   int* x = new int(10);
   return x;
}

int main() {
   int y = *(foo());
   std::cout << y;
}
To check your solution you need to sign in
Sign in to continue