What do you mean by a literal value ?

literal value is a value that appears directly in the source code. When we specify a literal value for a constant or variable, Swift compiler can automatically detect the type of constant or variable.

 

Leave a Reply