Why doesn't this undefined extern variable result in a linker error in C++17? – stackoverflow.com

I have compiled and ran the following program in a C++17 compiler (Coliru). In the program, I declared an extern variable, but did not define it. However, the compiler doesn't give a linker error. ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

0 Comment to "Why doesn't this undefined extern variable result in a linker error in C++17? – stackoverflow.com"