Computer Science, asked by rcbstamluk, 9 months ago

rules for naming variables in qbasic

Answers

Answered by Anonymous
11

</p><p>\huge {\underline {\underline {\mathbb {\pink {ANSWER}}}}}

Rules of naming a variable:-

  • A variable name must begin with a letter
  • Variable names can have alphabets and numbers
  • No special character is allowed in the name except for underscore(_)
  • In case of string variables, variable name is followed by $ sign.e.g., ADDRESS$etc.
  • Space is not allowed in variable name
  • Reserve words cannot be used as variable names.
Answered by shubhamparihar2009
0

Answer:

3 rules of naming string variables are.

1). space is not allowed in variables name.

2). a variable name must became with letter a.

3). in case of string variables, variable name is followed by$sign.

Similar questions