Type “gcc –version” in command prompt to check whether C compiler is installed in your machine. ----- Type “g++ –version” in command prompt to check whether C++ compiler is installed in your machine