adplus-dvertising
frame-decoration

Question

What is the output of the following code?
syms x c; 
if(x~=c)
fprintf(‘Error’); 
end

a.

Error

b.

Error due to x

c.

Error due to c

d.

Error due to x and c

Posted under MATLAB

Answer: (a).Error

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of the following code?