What is the syntax of a const member function?
What is the syntax of a const member function? Correct Answer void fun() const {}
The general syntax to be followed in order to declare a const function in a class is as in option a. The syntax may vary in different programming languages.
মোঃ আরিফুল ইসলাম
Feb 20, 2025