enum is compiler dependent and  diff between C and C++ language