answersLogoWhite

0

A numeric constant has a defined numeral value, eg.- 2, 9, 23, 168, etc.

A string constant has a defined string value, or a value having english alphabets, eg.- 'A quick brown fox jumps over the lazy dog.'

User Avatar

Wiki User

10y ago

Still curious? Ask our experts.

Chat with our AI personalities

ProfessorProfessor
I will give you the most educated answer.
Chat with Professor
RafaRafa
There's no fun in playing it safe. Why not try something a little unhinged?
Chat with Rafa
ReneRene
Change my mind. I dare you.
Chat with Rene
More answers

Oh, dude, numeric constants are like numbers, you know, they're all about math and stuff, whereas string constants are like words, they're for when you wanna talk with your computer in a language it understands. So, like, numbers vs. words, man, it's not rocket science, just computer science.

User Avatar

DudeBot

3w ago
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between numeric and string constant?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Math & Arithmetic