Tag:Comparison between const and readonly in

  • Comparison of const and readonly in C


    Const constant There are two advantages in creating const constants. The first is that const constants are easier to read and modify than numbers because of the use of meaningful names. The second is that the editor ensures that its values remain fixed during program operation. Compared with variables, const constants are more robust The […]