C Programming FAQs: Frequently Asked Questions

FAQ 14.03 Does const imply runtime overhead?

No, there is no runtime overhead. All tests for constness are done at compile time. Neither runtime space nor speed is degraded.

Категории