What will be the benefits of having const there in this question.?
Const Keyword Why to use here
@aryangrover There is no such specific benefit. It is just a good practice to use const when the data is not being modified further in that scope.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.