5. What is difference between numeric variable and string variable.
Answers
Answered by
3
Answer:
string variable there are one or more character and with Dollar sign it stores the string contents example a sign basic 256 hair a s is a string variables numeric variables it is a stores numeric constant there are alphabets example 7 here Axis numerical numeric variables
Answered by
3
Answer:
A numeric variable is used to store numeric values whereas a string variable is used to store string values i.e. a sequence of characters.
Explanation:
A numeric variable is used to store numeric values and can be of integer type, floating type or double precision type.
On the other hand, a string variable is used to store string values i.e. a stream of characters.
The size occupied by integer type is 4 bits of memory while for each character byte occupies 1 bit.
Similar questions
English,
4 months ago
Math,
4 months ago
English,
10 months ago
CBSE BOARD XII,
10 months ago
Hindi,
1 year ago