A function can have both the const and non-const version in the same program.
A. True
B. False
A. True
B. False
Correct option is A. True
The functions in a program can be made both const and non-const. This feature is made available to make programming more flexible. This ensures the security too as we can call const function whenever required.