Electronics and Communication Engineering - Microprocessors - Discussion

Discussion Forum : Microprocessors - Section 1 (Q.No. 31)
31.
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
1
10
3
4
Answer: Option
Explanation:

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

Discussion:
13 comments Page 2 of 2.

Amrata Kamat said:   1 decade ago
Can you people please explain the operation of the above problem?

Reetuparna Das said:   1 decade ago
What does 52 mean in between DO and N, it is definitely not a part of the instruction. The answer suggests the inclusion of 4 and 7, that too remains unexplained.

Vageesha prakash said:   1 decade ago
Can someone please explain operation of fortran77?


Post your comments here:

Your comments will be displayed after verification.