answersLogoWhite

0

a named constant is pretty much the same thing as a literal constant, except it is a name. both cannot change. literal constants are numbers, named constants are words. tada!

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

What is the difference between a variable and a literal in prgramming?

a literal is a constant value, the difference is a variable can change it's value.


What is difference between Webcontrol and Literal?

the difference between webcontrol and literal?


What is the meaning of 2L in C programming?

2L is the literal constant for a long (int) type with the value 2.


What is a string literal constant?

A string literal constant is a sequence of characters enclosed in quotation marks that represents a fixed value in programming. It is often used to define text data in code, such as messages, labels, or any other string-based information. For example, in many programming languages, "Hello, World!" is a string literal constant. Unlike variable values, string literals cannot be changed during program execution.


What is the difference between 'a' and a in C?

a -- identifier 'a' -- character-literal "a" -- string-literal


What is the difference between an identifier and a literal?

yes.


What is the difference between A and A in string?

Well, A is an identifier; 'A' is a character-literal; "A" is a string literal (of 1 character); "'A'" is another string literal (of 3 characters).


What is the difference between a symbolic and a literal constant?

A symbolic constant is a variable that is assigned a fixed value that cannot be changed during the program's execution, often represented by a name that conveys its meaning (e.g., PI = 3.14). In contrast, a literal constant is a fixed value directly embedded in the code, such as 3.14 or "Hello", which does not have an associated name. Symbolic constants improve code readability and maintainability, while literal constants provide immediate values without the need for additional identifiers.


What is the difference between the words bases and basis?

The main difference is that base is the literal word and basis the figurative word


What is the difference between literals and identifiers in C plus plus?

An identifier is a sequence of characters used to denote one of the following:Object or variable nameClass, structure, or union nameEnumerated type nameMember of a class, structure, union, or enumerationFunction or class-member functiontypedef nameLabel nameMacro nameLiterals (C++)Invariant program elements are called "literals" or "constants." The terms "literal" and "constant" are used interchangeably here. Literals fall into four major categories: integer, character, floating-point, and string literals.A literal may be any of the following:integer-constant character-constant floating-constant string-literal


What are similarities and difference between regular and literal equations?

by getting the variable by it's self


What is the difference between figurative language and descriptive?

descriptive is more literal than figuative.