Skip to content
Related Articles

Related Articles

C | Operators | Question 17
  • Difficulty Level : Basic
  • Last Updated : 05 Mar, 2013

Which of the following can have different meaning in different contexts?
(A) &
(B) *
(C) Both of the above
(D) There are no such operators in C


Answer: (C)

Explanation: ‘&’ can be used to get address of a variable and can also be used to do bitwise and operation.

Similarly ‘*’ can be used to get value at an address and can also be used to multiplication.

Quiz of this Question

Attention reader! Don’t stop learning now. Get hold of all the important C++ Foundation and STL concepts with the C++ Foundation and STL courses at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :