:: - do these sign always denote global variables?
Also is there anything for local scope ? or anything else?
:: - do these sign always denote global variables?
Also is there anything for local scope ? or anything else?
Hi @ssinha2103
so :: is used for using global variables value when local variables are also present…
as such there is no special symbol used for local scope as if we are inside a if statement or any loop and we have local variables then in that case local variables will only be used until and unless we use :: operator…
I hope it clears ur doubts…
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.