The hierarchy of the execution of logical operators is
(a) NOT AND OR
(b) AND OR NOT
(c) OR AND NOT
(d) OR NOT AND
Answer Posted / srinivas.dappili
Hi Santhi,
This is good Question.
THE ANS: IS NOT AND OR.
I am listing precedence order and also the link where u can
Found the relevant details
The operators and their precedence order from highest to
lowest are:
• Navigation operator ( . )
• Arithmetic operators in precedence order:
o + - unary
o * / multiply, divide
o + - add, subtract
• Comparison operators: =, >, <, >=, <=, <>(not equal)
• Logical operator NOT
• Logical operator AND
• Logical operator OR
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/cque_express.html
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What is the difference between external and global variables in COBOL?
What is the difference between comp and comp-3?
How can you get the ksds file records into your cobol program?
What is inspect in cobol ?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
What is the difference between PIC 9.99 and PIC9v99?
What is the difference between binary search and sequential search?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
) How do u handle errors in BMS macro?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
How to remove 2 duplicate records and copy only one using job control language?
Define static linking and dynamic linking.