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 structured cobol programming and object alternativelyiented cobol programming?
What are the access modes of START statement?
Have you used comp and comp-3 in your project? And how?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
What are the pertinent COBOL
What is the difference between binary search and sequential search?
what is search and searchall?what is the diffrence between them?give an best example?
What is the Purpose of Pointer in the string?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What are the different open modes available in cobol?
Explain how to differentiate call by context by comparing it to other calls?
Write a cobol program making use of the redefine clause.
What are the different rules for performing sort operation?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What are literals?