what is difference b/w binary operator and unary operator and plz tell me priority in binary operator?
what is difference b/w binary operator and unary operator and plz tell me priority in binary operator?
EmbLogic Research & Competency Development Labs
Phone: +91 9818467776, 8527567776, 9650467776
Email: info@emblogic.com
Copyright © EmbLogic Embedded Technologies Pvt. Ltd.
Binary : for 2 oprands
unary : for a single oprand.
Rest u try urself
Binary: +,-.*,%,/ etc…
eg. (a+b),(a-b)(a*b)(a/b) etc….
unary: ++,–.+=,-=,*= etc…..
eg. ++a,–a,a++,&a,*a,!a,~a etc…..