what is uniary operators and binary operators and what is
the difference



what is uniary operators and binary operators and what is the difference..

Answer / ravi kumar

uniary accepts only one operand in an expression.
when applied to numbers, yields the sum of the numbers is
called binary operators


a binary operator has two values it works with:
x + y
128 * 978




A unary operator has only one:
x++
++y
-z

Is This Answer Correct ?    12 Yes 1 No

Post New Answer

More C Sharp Interview Questions

How do I create a .exe file?

0 Answers  


Is c# pass by reference?

0 Answers  


What are the types of comment in c# with examples?

0 Answers  


What is bitwise operator in c#?

0 Answers  


What are the different types of constructors?

0 Answers  


What is private void in c#?

0 Answers  


Why generics are used in c#?

0 Answers  


What is the difference between structure and class in c#?

0 Answers  


What is the Difference between a sub and a function?

3 Answers   Wipro,


Which config file has all the supported channels/protocol?

0 Answers  


What does addressof operator do in background ?

0 Answers  


Explain the three services model (three-tier application). Presentation (ui), business (logic and underlying code) and data (from storage or other sources).

0 Answers  


Categories