Computer Science, asked by meghareka27, 27 days ago

In QBasic, Constants,
What is the difference between
1.Numeric Constants
2.String Constants
With Example.​

Answers

Answered by naidooamelia15
1

Answer:

Constants are classified as string constants or numeric constants. String constants are further classified as character or graphic. Numeric constants are further classified as integer, floating point, or decimal. Consists of numerals, an optional leading minus sign (-), and an optional decimal point. For example, 5.0, 6, -5.Literal values are expressed as either numeric or string constants. Numeric constants can be either an integer like 10 or a floating-point number like 3.214. A string constant is a sequence of characters surrounded by double quotation marks such as "4 horses".

Similar questions