Q. How do you declare a constant member function in C++?

आप C++ में एक स्थिर सदस्य फ़ंक्शन कैसे घोषित करते हैं?

A
void function() const;
B
const void function();
C
void const function();
D
function() const void;

Explanation

Explanation will be available soon. Please stay tuned.

व्याख्या जल्द ही उपलब्ध होगी। कृपया बने रहें।

Invest in Future Achievers

Your support helps keep Exam Achiever 100% free for students preparing for exams.

Thanks for your support!

Comments

Leave a Comment