Why can't i define my previously declared extern variable inside a function?
Why can't i define my previously declared extern variable inside a function?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA
Thanks to all those great people for their contributions!
(stackoverflow.com/users/21770859/eriksson543)eriksson543
(stackoverflow.com/users/12002570/jason)Jason
(stackoverflow.com/users/11829247/frodyne)Frodyne
(stackoverflow.com/users/773113/mike-nakis)Mike Nakis
A special thanks goes out to the (https://stackoverflow.com/questions/76313318/why-cant-i-define-my-previously-declared-extern-variable-inside-a-function)Stackexchange community
I wish you all a wonderful day! Stay safe :)
c++ extern