Computer Science, asked by saishaileshshetty, 9 months ago

Define const object. How it is declare​

Answers

Answered by Apekchalimbu
0

A const object can be created by prefixing the const keyword to the object declaration. Any attempt to change the data member of const objects results in a compile-time error. Syntax: ... When a function is declared as const, it can be called on any type of object, const object as well as non-const objects.

hope it helps you

please mark as BRAINLIEST

Similar questions