12345678
int* input() { int temp[2]; ifstream fin("data.in"); fin >> temp[0] >> temp[1]; fin.close(); return &temp[0]; }
test.cpp: In function ‘int* input()’: test.cpp:13: warning: address of local variable ‘temp’ returned