IndiaBIX.com
Arithmetic Aptitude Data Interpretation
Logical Reasoning Verbal Reasoning Non Verbal Reasoning
General Knowledge
Sudoku Number puzzles Missing letters puzzles Logical puzzles Playing cards puzzles Clock puzzles
C Programming C++ Programming C# Programming Java Programming
Microbiology Biochemistry Biotechnology Biochemical Engineering
Civil Engineering Mechanical Engineering Chemical Engineering Networking Database Questions Computer Science Basic Electronics Digital Electronics Electronic Devices Circuit Simulation Electrical Enigneering Engineering Mechanics Technical Drawing
Placement Papers Group Disucssion HR Interview Technical Interview Body Language
Aptitude Test Verbal Ability Test Verbal Reasoning Test Logical Reasoning Test C Programming Test Java Programming Test Data Interpretation Test General Knowledge Test
Data Structures Operating Systems Networking DATABASE Database Basics SQL Server Basics SQL Server Advanced SQL Server 2008 JAVA Core Java Java Basics Advanced Java UNIX Unix File Management Unix Memory Management Unix Process Managemnt C Interview Questions The C Language Basics .NET Interview Questions .NET Framework ADO.NET ASP.NET Software Testing

Computer Science - Object Oriented Programming Using C++ - Discussion


Read more:

"Act well your part; there all honor lies."
- Alexander Pope
10. 

Evaluate the following expression: 4 >6 || 10 < 2 * 6

[A]. True[B]. False

Answer: Option B

Explanation:

No answer description available for this question.


Ravi said: (Fri, Dec 9, 2011 05:53:47 PM)    
 
How it is true. ?

Can any one Explain.

Anand said: (Thu, Jan 5, 2012 08:35:20 PM)    
 
Check the precedence table of operators

'*' then '>' , '<' (left to right)
then '||'

4>6 is false
10 < 12 is true
false || true is always true.

By Default said: (Wed, Mar 7, 2012 11:54:43 PM)    
 
In OR condition if one get false and other is true then it always returns true value.

Here 4 > 6 gives false value that is 0 so or operator moves forward and check for next condition that is 10 < 6 * 2 i.e.

10 < 12 so the operation evalutes to a true value.

Write your comments here:
Name *:     Email:


© 2008-2013 by IndiaBIX™ Technologies. All Rights Reserved | Copyright | Terms of Use & Privacy Policy

Contact us: info@indiabix.com     Follow us on twitter!