answersLogoWhite

0

AllQ&AStudy Guides
Best answer

'not' for instance is a unary operator. It is unary in the sense that it operates on a single item. In contrast a binary operator such as addition operates on two items.

This answer is:
Related answers

'not' for instance is a unary operator. It is unary in the sense that it operates on a single item. In contrast a binary operator such as addition operates on two items.

View page

There is no unary plus in C, but if there were, it would have only one operand, unlike the binary plus which has two:

x = a + b; /* binary plus */

x = + b; /* unary plus -- not in C*/

x = a - b; /* unary plus */

x = - b; /* unary minus */

View page

different rdbms operations are delete,update easily and other u find on some other site. •Insert : unary operation •Delete : unary operation •Update : unary operation •Select : unary operation •Project : unary operation •Join : binary operation •Union : binary operation •Intersection : binary operation •Difference : binary operation

View page

No. The subtraction operator is a binary operator that returns the result of subtracting the rhs operand from the lhs operand. The unary minus operator simply negates the rhs operand.

int x = -5; // unary minus. x is (-5)

int y = -x; // unary minus. y is (+5)

y -= x; // binary minus/assign operator. y is (+10)

--x; // unary decrement operator. x is (-6)

y -= (-x); // binary minus/assign and unary minus operators. y is(+4)

View page

In programming a unary and binary operator defines how many components make up an expression.

View page
Featured study guide

Genetics

3 cards

What is the difference of complete dominance and incomplete dominance

How does a mutation in a sex cell differ from a mutation is a non sex cell

Which is a mendelian trait

➡️
See all cards
No Reviews
More study guides
No Reviews

No Reviews
Search results