adplus-dvertising
frame-decoration

Question

How many times will the loop run?
for i={1:.1:5}
p=p+1;
end

a.

50

b.

Infinite

c.

0

d.

1

Posted under MATLAB

Answer: (d).1

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How many times will the loop run?