Question: which one ( s ) is ( are ) indefinite loops: A ) mat 1 = 1 ; mat 2 = 1 0 ; mat

which one(s) is(are) indefinite loops:
A)
mat1=1;
mat2=10;
mat3=0;
while mat1< mat2
fprintf('test')
end
B)
length =42;
Increment =0;
final=0;
while final< length
fprintf('test')
end
C)
while 1
fprintf('loop')
end
D)
while 0
fprintf('loop')
end
Group of answer choices
C
A
B
D

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!