In C++20, using enum with _______ allows specifying the underlying type and scope. 

  • type specificity 
  • class 
  • explicit type 
  • annotations
In C++20, when using enum with "class", it allows the developer to specify both the underlying type and the scope. This gives better control and clarity over enumeration definitions.
Add your answer
Loading...

Leave a comment

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