0_0_9546134_28539.cpp: In function `void check(int*)': 0_0_9546134_28539.cpp:41: error: `res' undeclared (first use this function) 0_0_9546134_28539.cpp:41: error: (Each undeclared identifier is reported only once for each function it appears in.)