Differentiate between a string variable and a numeric variable with an example in qbasic
Answers
Answered by
5
Answer:
String variables are variables that hold zero or more characters such as letters, numbers, spaces, commas and many more. You can't use numeric functions such as addition or subtraction on string variables.A string constant consists of a sequence of characters which must be enclosed by a quotation mark. In Q BASIC, variables are also of two types: Numeric variable :Numeric variable can assume numeric value and is represented by an alphabet or an alphabet followed by another alphabet or digit...
Similar questions