Nguyễn Thanh Uyên
New member
What is the output of the following command?
A. Error due to element index
B. Error due to syntax of varargin
C.
1 2 3
wish=0
D. Error due to disp()
Code:
function mad= rush(p,varargin)
disp(p)
wish=cos(varargin[0])
end
p=rush(1:3,pi/2)
B. Error due to syntax of varargin
C.
1 2 3
wish=0
D. Error due to disp()