Question: Two Ninute Nan # 1 6 : Set and Kill Variables are defined dynamically. When you log in to a system, no variables are defined.
Two Ninute
Nan
#: Set and Kill
Variables are defined dynamically. When you log in to a system, no variables are defined. The course of your program will define variables via the READ and SET S commands, and undefine variables via the KILL K command. Notice that commands can be abbrevialed to one letter.
As you know, there are two kinds of variables: string and numeric. A variable may be defined via a READ command, in which case itis autiomalicaly a sting. The other way a variable can be defined is by the SET command which can define it as either string or numeric.
The syntax tor the SET command is:
S argl, arg argx
The statement
VAR EXP
replaces or defines the variable VAR with the value of the expression EXP. The data type of varis detemined by the expression.
II execute the following code
B
All sting
What type of variables are and
y numeric, string
All numeric
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
