Command used to display the value of variable x.

Kim Trang

New member
Command used to display the value of variable x.
A. displayx
B. disp(x)
C. disp x
D. vardisp(‘x’)
 
Answer: b
Explanation: disp(X) displays the value of variable X without printing the variable name. Another way to display a variable is to type its name, but this displays a leading “X =”, which is not always ideal. If a variable contains an empty array, disp returns without displaying anything.
 

Tìm kiếm

Back
Top