Posts by Marcos Adriano • 21 points
1 post
-
1
votes2
answers2433
viewsQ: How to make a local variable global in C (or C++)?
I can turn a local variable into a global variable, even though it’s within a function? In C or even C++ if it doesn’t exist in C. I’ve seen something like this in Java, but I don’t know exactly how…