Online GK Series

This site is dedicated to the aspirants of competitive exams SSC, UPSC, Railways, Postal Assistants, Bank, GATE and NET

Q.

The && and || operators

A compare two numeric values
B combine two numeric valuesshort hand operator, &
C compare two boolean values
D none of these
Answer & Explanation
Option: [C]

The logical operators in C are &&(Logical AND), ||(Logical OR) and !(Logical NOT). They compare two boolean values.

Computer Science Books

Your Valuable Comments Please...

Please Like Us
Brand