Hi guys,

I wanted to know that if we have a function like:

const int GetRoll();Does this constant function returns a type "int" which is fixed?

Is it necessary that with a constant function, the variable should also be constant?

eg:

const int RollNo;

const int GetRollNo();

Thanks