0 votes
in C Plus Plus by
uppose a global variable and local variable have the same name. Is it possible to access a global variable from a block where local variables are defined?

1 Answer

0 votes
by
No. This isn’t possible in C. It’s always the most local variable that gets preference.
...