Search Placementyogi.com
 

C# Operators - Basic Objective Questions

1

Which one of the following options is not Arithmetic Operators in C#?

A.

+, -

B.

*, /

C.

++, --, %

D.

>=, <=

See Answer & Explanation Lets Discuss
Correct answer is : D
Explanation

Options A, B and C contain Arithmetic Operators where as option D contains Relational Operators.

 
2

Which one of the following options is not Relational Operators in C#?

A.

&&, ||

B.

==, !=

C.

<, >

D.

<=, >=

See Answer & Explanation Lets Discuss
Correct answer is : A
Explanation

Option A contains Logical Operators where as options B, C and D contain Relational Operators.

 
3

Which one of the following is not a Logical Operator in C#?

A.

&&

B.

||

C.

&

D.

!

See Answer & Explanation Lets Discuss
Correct answer is : C
Explanation

& is a Bitwise Operator in C#.

 
4

Which one of the following options is not Bitwise Operators in C#?

A.

&, |

B.

^, ~

C.

<<, >>

D.

+=, -=

See Answer & Explanation Lets Discuss
Correct answer is : D
Explanation

+=, -= are Assignment Operators in C#.

 
5

Which one of the following options is not Assignment Operators in C#?

A.

=, +=, -=, *=, /=

B.

?:, is, as

C.

%=, <<=, >>=

D.

&=, ^=, |=

See Answer & Explanation Lets Discuss
Correct answer is : B
Explanation

Option B is incorrect. It contains different types of operators other than Assignment Operators.

?: => Conditional Expression (Ternary operator)

is => Determines whether an object is of a certain type

as => Cast without raising an exception

 
 

Banner to LogicGuns.com

Hide Page Information

C# Operators - Basic Objective Questions and Answers with Explanation

Here you can find basic level C# operators interview questions with answers and explanation.

Why Operators in C#?

In this section you can learn and practice different types of operators (Basic Level Questions with Answers) to improve your skills in order to face the interviews, competitive examinations and various entrance tests (CAT, GATE, GRE, MAT, Bank Exam etc.) with full confidence.

Where can I get C# Operators Basic Questions and Answers with Explanation?

PlacementYogi provides you lots of fully solved basic level Operators questions and answers with explanation. Fully solved examples with detailed answer description, explanation are given and it would be easy to understand. All students, freshers can download Operators quiz questions with answers as PDF files and eBooks.

Where can I get Basic Level C# Operators Interview Questions and Answers (objective type, multiple choice)?

Here you can find objective type basic Operators questions and answers for interview and entrance examination. Multiple choice and TRUE or FALSE type and YES or NO type questions are also provided.