DEV Community

Sandeep Kumar C
Sandeep Kumar C

Posted on

const Syntax not able to understand

size_t size() const;

In the above statement, what is the const keyword doing there, please someone explain its effect on the statement? Thanks.

Top comments (0)