add return snippet to c/c++