Home » C++ Programming » OOPS Concepts

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

Correct Answer: int ShowData(void) const { /* statements */ }

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion