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 ?

πάντα ῥεῖ
  • 1
  • 13
  • 116
  • 190
Ujjwal Aryan
  • 3,827
  • 3
  • 20
  • 31

0 Answers0