0% found this document useful (0 votes)
27 views10 pages

Different Operators in C

Uploaded by

roshni varghese
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views10 pages

Different Operators in C

Uploaded by

roshni varghese
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 10

Different Operators in C

• A bitwise operator operates on each


bit of data.
• Bitwise operators are used for
testing, complementing or shifting
bits to the right or left.
Increment and
Decrement
Operators
Conditional or Ternary Operator
Other Operators in C
• Comma operator
• Ex: int i, j;
i = ( j=3, j+2) ;

• Member access operators (. and =>) used with structures and unions.
• Pointer operators (* and &)
• sizeof operator (returns the size of the data type of variable in terms of bytes
occupied in the memory)
• Ex: sizeof(int)
Thank You

Challenge Yourself

You might also like