What is the syntax of a const member function?
(a) void fun() const {}
(b) void fun() constant {}
(c) void const fun() {}
(d) const void fun(){}
I had been asked this question during an online exam.
My doubt is from Types of Member Functions topic in portion Member Functions & its Types of Object Oriented Programming