Home Forums C Programming NEED HELP URGENTLY !!!! Re: NEED HELP URGENTLY !!!!

#3400
Anantha
Participant

Thanks cman! Actually i was kinda confuse on where to put the “const”
For example:

const int getName();
int getName() const;

what’s the difference between putting the “const” in front and at the back?