diference between numaric constant and string constant
Share
diference between numaric constant and string constant
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
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. All constants have the attribute NOT NULL.
Answer:
Difference between string constants and character constants:- The string constants are always enclosed in double quotes, while character constants are enclosed in apostrophes (single quotation marks).
Explanation: