What is the benefit of using enum to declare a constant? Ans. Using the enum keyword to define a constant can have several benefits. First, constants declared with enum are automatically generated by the compiler, thereby relieving the programmer of manually assigning unique val...
See more
Download the Study24x7 App, so you can connect and collaborate.