C | Operators | Question 17

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



My Personal Notes arrow_drop_up


Article Tags :
Practice Tags :


2


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.