if we are passing any other value as parameter for constant data member,constant data member is assigned new value inspite of using const keyword.This should not happen.Explain
Const data members
but if u do const int c = a
then it is correct since u are assigning const member to a value
const variable cannot be reassigned any other value