lundi 20 juillet 2020

Having difficulties with the const position

while reading some codes I sometimes encounter difficulties with the const position like these two statements do they differ or they are the same??

  • void output() const;

  • const void output();

Aucun commentaire:

Enregistrer un commentaire