io test: C vs C++