Computer Science, asked by aartichoudhary286, 3 days ago

Differentiate between Numeric and String Constant? please give small answer​

Answers

Answered by jasbeerrfk1999
0

Answer:

Numeric and String Constants. 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".

Answered by 5e15chauhandhruv
0

Answer:

Numeric and String Constants. 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"

Explanation:

Similar questions