Microprocessors - Engineering

Q1:

Consider the following DO statement in Fortran 77

DO 52 N = 1, 10, 3

The number of DO loop executions in the above statement is

A 1

B 10

C 3

D 4

ANS:D - 4

Do statement is executed when N = 1, 4, 7, 10, i.e., a total of 4 times.