answersLogoWhite

0

Numeric variables store numbers for doing mathematics, counting etc.. String variables store printable sets of characters that can be read by humans in what ever language.

int i=3; /* a numeric variable in c */

char *hello = "Hello world, Im 3 years old" /* string that contains a number */

Computer languages generally provide many different ways to transform one into the other.

User Avatar

Wiki User

13y ago

Still curious? Ask our experts.

Chat with our AI personalities

ViviVivi
Your ride-or-die bestie who's seen you through every high and low.
Chat with Vivi
EzraEzra
Faith is not about having all the answers, but learning to ask the right questions.
Chat with Ezra
JudyJudy
Simplicity is my specialty.
Chat with Judy

Add your answer:

Earn +20 pts
Q: What is the difference between numeric and string variables?
Write your answer...
Submit
Still have questions?
magnify glass
imp