Which keyword is often advised against using due to its potential to make code less readable and maintainable? 

  • class 
  • public 
  • goto 
  • private
The goto keyword allows for arbitrary jumps in code, which can make the code's flow hard to follow, leading to decreased readability and maintainability. Although it's available in C++, its use is generally discouraged in modern programming practices.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *