1.

Which of the following statements are correct?

1. The conditional operator (?:) returns one of two values depending on the value of a Boolean expression.
2. The as operator in C#.NET is used to perform conversions between compatible reference types.
3. The &* operator is also used to declare pointer types and to dereference pointers.
4. The -> operator combines pointer dereferencing and member access.
5. In addition to being used to specify the order of operations in an expression, brackets [ ] are used to specify casts or type conversions.

A. 1, 2, 4
B. 2, 3, 5
C. 3, 4, 5
D. 1, 3, 5
Answer» B. 2, 3, 5


Discussion

No Comment Found