I installed Ubuntu 20.04 and I installed g++ using
sudo apt install g++
sudo apt install build-essential
but when I want to check the version using this command
g++ --version
it showed me and also for gcc same the situation
Command 'g++' not found, but can be installed with:
sudo apt install g++
Is there any way to check whether the g++ installed or not?
