#include using namespace std; //code void compute(int *ret) { *ret = 9; } int main() { int ret = 0; std::thread(compute, &ret).detach(); cout << ret << '\n'; } //=