



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
A concise overview of operators in the c programming language. It covers various types of operators, including arithmetic, relational, logical, bitwise, assignment, comparison, and increment/decrement operators. Each operator type is explained with examples, offering a basic understanding of their functions and usage. The document also includes a table detailing operator precedence in c, which is crucial for writing correct and efficient code. This information is useful for students learning c programming, as it helps them understand how different operators interact and affect the outcome of expressions. The document serves as a quick reference guide for understanding the fundamental concepts of operators in c, aiding in the development of basic programming skills and comprehension of c syntax and semantics.
Typology: Study notes
1 / 5
This page cannot be seen from the preview
Don't miss anything!
8. Misc operator: There are basically two types of misc operator: Size of and Ternary. ① Size of : It returns the size of a variable. size of (a) ② Ternary : It returns value into true or false expression? True: false Operator Precedence in C: Category | Operator | Associativity | | Post fix | [] ->. ++ -- | L to R | | Unary | + -! ~ ++ -- | R to L | | Multiplicative | *** / %** | L to R | | Additive | + - | L to R | | Shift | << >> | L to R | | Relational | << => >= | L to R |
| Equality | == != | L to R | | Bitwise AND | & | L to R | | Bitwise XOR | ^ | L to R | | Bitwise OR | ** | **L to R** | | **Logical AND** | **&&** | **L to R** | | **Logical OR** | **
| L to R |