2

In C++ we know that a global object is externally linked by default except a const global object that is internally linked by default. What is the rationale behind this ? I understand that these default behaviors can be overridden but what is the rationale behind these behaviors ?

πάντα ῥεῖ
  • 85,314
  • 13
  • 111
  • 183
Ujjwal Aryan
  • 3,347
  • 3
  • 17
  • 30

0 Answers0