C# Operators Programming Interview Questions and Answers - 1
List out the Special Operators in C#?
|Is, as||relational operator|
|Type of||type operator|
|Size of||size operator|
|.(dot)||member access operator|
|Unchecked||prevention of over flow checking|
Define Operator and Operand?
An operator is a symbol that tells the computer to perform certain mathematical or logical manipulations. It is used to manipulate data and variables.
The data items that the operators act upon are called operands.
List the categories of the assignment operator?
It is used to assign the values of an expression to a variable. In C#, there are three categories of assignment operations.
What is called ternary operator?
The ternary operator is used to form a conditional expression. It uses three operands and hence it is called as a ternary operator.
The general format is:
Expression1? expression2: expression3
What is checked and unchecked operator?
These operators are used in arithmetic operations for overflow checking.
If an operation is checked, and over flow error will be thrown when an over flow occurs.
If it is not checked, the error is not reported and the overflowing bits are discarded.
Top 1000+ Bank Exams Question Papers with Answers Pdf More
1000+ SBI Computer Awareness Study Material More
Top 1000+ Preposition Questions for SSC Exams More
Preposition Quiz Questions and Answers for Bank Exams More
Computer Awareness Questions Asked in IBPS RRB PO Mains 2021-2022 More
Idioms and Phrases MCQ for Competitive Exam More
10,000+ IBPS RRB PO Computer Awareness MCQ Pdf More
1000+Computer Awareness Previous Year Questions Pdf More
Computer Awareness Multiple Choice Questions with Answers More
Hyperion Drm Interview Questions and Answers More