Home / ECE / Microprocessors :: Discussion

Discussion :: Microprocessors

  1. Consider the following DO statement in Fortran 77

    DO 12 A = 1.0, 5.5, 0.5

    The number of DO loop executions in the above statement is

  2. A.
    1
    B.
    11
    C.
    10
    D.
    4

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    Do loop executations are for A = 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5, 5.0, 5.5 or a total of 10 times.


Be The First To Comment