1.

Which among the given operators is referred to as ‘address of’ operator?(a) *(b) ^(c) &(d) ~This question was posed to me in class test.Asked question is from Unsafe code & Pointers Basics topic in portion Miscellaneous topics of C#

Answer»

The correct choice is (c) &

For EXPLANATION: The ‘&’ is a UNARY operator that returns the memory ADDRESS of its operand.

For EXAMPLE,



Discussion

No Comment Found

Related InterviewSolutions