Electronics and Communication Engineering - Microprocessors - Discussion
Discussion Forum : Microprocessors - Section 2 (Q.No. 8)
8.
Consider the following DO statement in Fortran 77
DO 23 X = 10.0, 2.0
The number of DO loop executions in the above statement isAnswer: Option
Explanation:
Do loop will not be executed since 0 is less than 10.
Discussion:
3 comments Page 1 of 1.
Nanda said:
2 years ago
The DO loop in the statement DO 23 X = 10.0, 2.0 is a decrementing loop. Since the starting value of 10.0 is greater than the ending value of 2.0, the loop will execute 0 times.
Therefore, the number of DO loop executions is 0.
Therefore, the number of DO loop executions is 0.
Amrata Kamat said:
1 decade ago
I am not understanding the Fortran 77 loop execution. Please help to understand this.
Vennela said:
6 years ago
I am not understanding please give the clear explanation.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers