while initialising a global variable o as
int o=222;
I was getting error when I was using that in demo globalscopes.
it said rename it as static int o=222; at the top.
and doing this made error disappear.
what was the reason.
please explain.
while initialising a global variable o as
int o=222;
I was getting error when I was using that in demo globalscopes.
it said rename it as static int o=222; at the top.
and doing this made error disappear.
what was the reason.
please explain.