Why constructors are not called as initializer in cpp?

Shubham Bhise

Shubham Bhise

@shubham-aDVKYr Oct 26, 2024
As we know in cpp, constructor used to intialize instances ....but why aren't they called as initializer instead?

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Vishal Sharma

    Vishal Sharma

    @vishal-pysGmK Aug 29, 2015

    They are not just used for that purpose