The coding follows `C` standards while the compiler used is `g++`. Warning generated by `g++` need to be addressed.