links: Computer Science MOC


Literal is a notation for representing a fixed value in source code

Ex: String Literal

A string literal is a type of literal in programming for the representation of string value in source code of computer program (let x = "foo bar")

Most of the modern languages use balanced delimiters like double quotes or single quotes

For example x = "foo" the double quotes are not part of a string, they are delimiters


tags: fundamentals