Differentiate between Numeric and String Constant? please give small answer
Answers
Answered by
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
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