Home / C# Programming / Operators :: Discussion

Discussion :: Operators

  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.

  2. A.
    1, 2, 4
    B.
    2, 3, 5
    C.
    3, 4, 5
    D.
    1, 3, 5
    E.
    None of these

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    No answer description available for this question.


Be The First To Comment