I've installed gcc-9 and g++-9 as written in this answer
answer
and updated the alternatives as shown in the comment, still when I type man g++ it shows the man page of the previous version.
The output of gcc -v and g++ -v is 9.2.1
Asked
Active
Viewed 219 times