What is a unary operator?

Answer Posted / ayesha

!
Logical NOT

&
Address-of

~
One's complement

*
Pointer dereference

+
Unary plus

++
Increment

–
Unary negation

––
Decrement

conversion operators
conversion operators


Of the operators shown in preceding table, the postfix
increment and decrement operators (++ and ––) are treated
separately in Increment and Decrement.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we define a class within the interface?

551


Why is encapsulation used?

577


What is use of overloading?

604


What is multilevel inheritance?

723


Which language is not a true object oriented programming language?

640






how to get the oracle certification? send me the answer

1668


why reinterpret cast is considered dangerous?

1898


What is variable example?

593


What is purpose of inheritance?

643


What is object in oop?

679


What is the types of inheritance?

602


Why do we use polymorphism in oops?

577


Explain virtual inheritance?

682


What is abstraction example?

616


What is polymorphism explain its types?

675