Constants in C

Constants values are those values which can’t alter or change during program execution. These fixed (constants) value are also known as literals. Constants can be any data types like an integer constant, a floating constant, a character constant, or string literal. Integer literal: An integer literal is a sequence of digits and denotes a number. An integer literal is either signed or unsigned. The sign of a literal determines how C– decides whether it stats into its type: A literal starting with “0x” or “0X” is in hexadecimal notation (base…

Read More