wtf? unary operator?
Hi
I have been reading in a book that the precedence of the binary operators + and - are lower then the unary operators + and -. What are unary operators? I''ve searched on google but could not find any good explainations.
Whitecrow
Binary operators are operators with two operands, like 'a+b', where + is the binary operator. Unary operators are operators with only one operand, like '-a', or 'b++'.
[edited by - Brother Bob on August 13, 2003 12:07:16 PM]
[edited by - Brother Bob on August 13, 2003 12:07:16 PM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement