Hello I am new to blockchain. I was reading solidity docs and they were continuously repeating the word "literal", what does this word mean? Please elaborate.

  • 2
    Constant value, like 42 or "xyz". – goodvibration Apr 30 '20 at 15:19

Literals refer to fixed values that the program may not alter during its execution. These fixed values are also called constants. Generally, both terms, constants and literals are used interchangeably.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.