What is the benefit of using const for declaring constants? Ans. The benefit of using the const keyword is that the compiler might be able to make optimizations based on the knowledge that the value of the variable will not change. In addition, the compiler will try to ensure th...
See more
Download the Study24x7 App, so you can connect and collaborate.