01-28-2012, 02:49 PM
(01-28-2012, 02:43 PM)AceInfinity Wrote: Have you ever used a calculator before? Remember the ANS button?That's it, what is the char exactly used for in a program, to understand what someone puts in???
Basically variables store information so that you can use them in other places, check their values, and execute other functions based on that value.
char holds a char value. Other variables depend on their types. But i'm not sure what you're confused about here
int = number value, but it's short, so it's maximum isn't very large in comparison to a long int.
char = one character value
A developer, thinker & bliss guy that tries his hardest to enjoy life ~~~