If Foo is a member function of a class, which of the following uses of const is legal?
A. void Foo(Squid& a) const;
B. void Foo(const Squid& a);
C. void Foo(const Squid& a) const;
D. None of the above
E. const void Foo(const Squid& a) const;
F. All of the above
G. I don't know
A. void Foo(Squid& a) const;
B. void Foo(const Squid& a);
C. void Foo(const Squid& a) const;
D. None of the above
E. const void Foo(const Squid& a) const;
F. All of the above
G. I don't know