Suppose if we use dummy scope by using { },will it be considered as different scope?
Dummy Scope By Using { }
Like if we declare like
yes that will be different.
the variable in the summy scope will be in the scope if youdo anyoperation on that rather then the same one declared outside the dummy 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.