C Programming - Control Instructions - Discussion
Discussion Forum : Control Instructions - General Questions (Q.No. 3)
3.
Which of the following is not logical operator?
Answer: Option
Explanation:
Bitwise operators:
& is a Bitwise AND operator.
Logical operators:
&& is a Logical AND operator.
|| is a Logical OR operator.
! is a NOT operator.
So, '&' is not a Logical operator.
Discussion:
14 comments Page 2 of 2.
Raghav Naganathan said:
1 decade ago
Technically, according to the way the question is grammatically phrased, the answer should be D.
The article 'a' makes a huge amount of difference in the question.The question must be phrased like this.
Which of the following is not a logical operator?
Then the answer is A
The article 'a' makes a huge amount of difference in the question.The question must be phrased like this.
Which of the following is not a logical operator?
Then the answer is A
Ajendra Singh said:
1 decade ago
Logical operator makes an expression to compound one but bitwise operator operates on bit for faster access.
Nilesh Mohol said:
1 decade ago
& is a bitwise AND operator
Vinoth M said:
1 decade ago
Tell me wat is the difference b/w logical and operator(&&) and bitwise and operator(&).
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers