How can I access a shadowed global variable in C? In C++ I can use ::
for the global namespace.
相关问题
- Multiple sockets for clients to connect to
- What is the best way to do a search in a large fil
- glDrawElements only draws half a quad
- Index of single bit in long integer (in C) [duplic
- Equivalent of std::pair in C
gyz y 2 think so much Just use pointer variable n store the address of the global variable in it n den use it inside d main(). using the pointer to refer the global variable will not be a problem even if a local variable with same name is there inside main().