Practise C and C++ code