C1830: Modifiable lvalue expected

[ERROR]

Description

An attempt was made to modify an item declared with const type.

Example
  const i;

  
  void main(void) {

  
    i=2;

  
  }

  
Tips

Do not modify this item, or declare the item without the const qualifier.