Z Code Writer is an Online Blog for beginner programmers. Here, you will find tech, build your Programming Skills and other Programming Languages like C, C++, HTML, JavaScript, Java Code, Web Designing and the University of Sialkot (USKT) CGPA / GPA Calculator, etc.

Friday, 12 July 2019

Binary And Unary Operator

Binary Operator

      The operator that operates on two operands (data items) is called binary operator. For example, "a + b", the operator '+' operates on two operands 'a' and 'b' . All arithmetic operators, relational operators and two logical operators (&& and || ) are examples or binary operators.

Unary Operator

      The operator that operates only on one operand is called unary operator. The examples of unary operators are ++ (increment operator), -- (decrement operator) and logical negation operator (!).

No comments:

Post a Comment

Thanks For Visiting Here...!! I will Reply you as soon as possible.