In FORTRAN, which of .AND. and .OR. has higher precedence?
Answers
Answered by
1
Question
In FORTRAN, which of .AND. and .OR. has higher precedence?
Answer:
Certain operators have higher precedence than others; for example, the multiplication operator has higher precedence than the addition operator. For example x = 7 + 3 * 2; here, x is assigned 13, not 20 because operator * has higher precedence than +, so it first gets multiplied with 3*2 and then adds into 7.
hope it will help you!
Similar questions