programming
Topic 4: Basic C Operators
Objectives
In this chapter, you will learn about:
Arithmetic operators
Unary operators
Binary operators
Assignment operators
Equalities and relational operators
Logical operators
Conditional operator
Relational Operators:
Operator Example Meaning
> x>y x is greater than y
< x<y x is less than y
>= x>=y x is greater than or equal to y
<= x<=y x is less than or equal to y
Conditional Statement:
printf(%s!!\n, total > 60? Passed: Failed);