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.

- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
 
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.

1.1,2,4

2.2,3,5

3.3,4,5

4.1,3,5

Posted Date:-2021-02-25 10:28:15


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!