wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

The number of tokens in the Fortran statement DO 10 I = 1.25 is
  1. 5

Open in App
Solution

The correct option is A 5
In Fortran identifies can contain spaces.
'Do 10 I' is one token
'=' is another token and '1.25' is third token
3 tokens are identified in Fortran.

Whereas in C-language as following it counts:


The number of tokens in the C statement is 5.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Properties of Addition and Subtraction of Integers
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon