MCQs > IT & Programming > C++ > Correct way to declare a function as constant?

C++ MCQs

Which of the following is the correct way to declare a function as constant?

Answer

Correct Answer: funcshowData(void) const { }

Explanation:

Note: This Question is unanswered, help us to find answer for this one

C++ Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

C++ Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it