c /c++ data structure test