2080 10

C Programming20805 marksLogical operators

List out different operators in C. Explain Logical and relational operator.

List out different operators in C. Explain Logical and relational operator. [5]

The different types of operators in C are: 1. Arithmetic Operators (+, -, , /, %) 2. Relational Operators (<, , <=, =, ==, !=) 3. Logical Operators (&&, , !) 4. Assignment Operators (=, +=, -=, =, /=) 5. Increment/Decrement Operators (++, --) 6. Bitwise Operators (&, , ^, ~, <<, ) 7. Conditional ...

Up nextWhat is pointer? Explain the similarity between array and pointer in brief.