"Z Code Writer" is an Online Blog for Programmer & Beginner. Here, You will Find tech, Build your Programming Skills and other Programming Language Like C, C++, HTML, Java Script Java Code, Web Designing and 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.