SlideShare a Scribd company logo
Operator of C language
Operator of C language
Operator of C language
 These are the operators which are operators which are used to
perform mathematical calculation like add, subtract, multiply and
division.
Symbols Operation Example precedence
+ Addition A+B Lowest
- Subtraction A-b Lowest
* Multiplicati
on
A*b Highest
/ Division a/b Highest
% Module or
reminder
A%b Highest
 A relational operator is an operator which is
used to compose two values and result of
such operation is always true or false.

Operator operations
> Greater then
< Less then
>= Greater then equal to
< = Less then equal to
= = Equal to
Operator Operation
! Logical not or negative
&& Logical and or conjunction
” Logical or Disjunction
 General form :-
 Identifier = Expression
 for example : a =10 ;
 The other assignment operator are +=,-=,*=.
 A ) unary minus(-)
 B) increment and decrement operator (++ & --)
 C) address operator (&)
 D) value at address operator (*)
 E) NOT or Negative Operator (!)
 F) Size of operator [size of ( )]
 It can help the programmer in performing
simple conditional operations. It is also called as
ternary operator because it operate on these
values .
Operator Operations
<< Left shift of bits
>> Right shift of bit
~ Once compliment
& Bit wise and
~^ Bit wise x or
! Bit wise or
 It is basically used to group the selected
statement or expression. If a least of
expression are separated by comma (c)
language assume this list as a single
statement.
 for example : a=b, b=c,c=a+b;
Operator of C language

More Related Content

PPTX
Operator in c programming
PPT
2. operators in c
PPT
Operators in c language
PPTX
C OPERATOR
PPT
Arithmetic operator
PPT
C operator and expression
PPTX
PPT
C operators
Operator in c programming
2. operators in c
Operators in c language
C OPERATOR
Arithmetic operator
C operator and expression
C operators

What's hot (20)

PPTX
C Operators
PPTX
Basic c operators
PPT
Basic c operators
PPT
Types of operators in C
PPTX
C language operators
PDF
Operators in c programming
PPTX
Expression and Operartor In C Programming
DOCX
C – operators and expressions
PPT
Operators and Expressions in C++
PPTX
Operators in C & C++ Language
PPTX
Operators in C/C++
ODP
Operators
PPTX
Operators and expressions
PPT
CBSE Class XI :- Operators in C++
PPTX
COM1407: C Operators
PDF
Conditional operators
 
PPTX
Logical and Conditional Operator In C language
PPT
6 operators-in-c
PPTX
Operator.ppt
PPT
Operator & Expression in c++
C Operators
Basic c operators
Basic c operators
Types of operators in C
C language operators
Operators in c programming
Expression and Operartor In C Programming
C – operators and expressions
Operators and Expressions in C++
Operators in C & C++ Language
Operators in C/C++
Operators
Operators and expressions
CBSE Class XI :- Operators in C++
COM1407: C Operators
Conditional operators
 
Logical and Conditional Operator In C language
6 operators-in-c
Operator.ppt
Operator & Expression in c++
Ad

Similar to Operator of C language (20)

PPTX
What are operators?
PPT
operator ppt.ppt
DOCX
PPS 2.2.OPERATORS ARITHMETIC EXPRESSIONS/ARITHMETIC OPERATORS/RELATIONAL OPER...
PPTX
operators.pptx
PPTX
Cse lecture-4.1-c operators and expression
PDF
ICP - Lecture 5
PPTX
Operators-computer programming and utilzation
PPTX
Operators and expressions in C++
PPT
Operators
PPTX
Understanding operators in c language.pptx
PPTX
Understanding Operators in C Programming – Logic Development PPT
PPTX
ComputerProgrammingVarialblesanddeclaration.pptx
PPTX
PROGRAMMING IN C - Operators.pptx
PPTX
Opeartor &amp; expression
PPTX
lecture4 pgdca.pptx
PPTX
3. C_OperatorsExpressions on c languyage.pptx
PDF
C++ revision tour
PPTX
Opreator In "C"
PDF
Coper in C
PPT
C Sharp Jn (2)
What are operators?
operator ppt.ppt
PPS 2.2.OPERATORS ARITHMETIC EXPRESSIONS/ARITHMETIC OPERATORS/RELATIONAL OPER...
operators.pptx
Cse lecture-4.1-c operators and expression
ICP - Lecture 5
Operators-computer programming and utilzation
Operators and expressions in C++
Operators
Understanding operators in c language.pptx
Understanding Operators in C Programming – Logic Development PPT
ComputerProgrammingVarialblesanddeclaration.pptx
PROGRAMMING IN C - Operators.pptx
Opeartor &amp; expression
lecture4 pgdca.pptx
3. C_OperatorsExpressions on c languyage.pptx
C++ revision tour
Opreator In "C"
Coper in C
C Sharp Jn (2)
Ad

More from Kritika Chauhan (19)

PPTX
Dalai Lama Succession Explained | History, Politics & China’s Role
PDF
Introduction to programming : flowchart, algorithm
PPTX
Introduction to Python — great for beginners or as a refresher.
PDF
Arduino MCQ Collection: Types, Memory, Applications, and Real-World Uses | Te...
PPTX
Group Captain Shubhanshu Shukla: India’s Return to Space After 41 Years | Ax-...
PDF
50+ Arduino MCQs with Answers | Beginners to Advanced Quiz for Electronics & IoT
PDF
MCQ INTERNET OF THINGS ARDUINO PROGREAMS - EMBEDDED C TYPES OF ARDUINO
DOCX
Write a NumPy program to find the most frequent value in an array. Take two...
PDF
skills-Personality Development Multiple Choice Questions
PPTX
Introduction to Arduino Its components & pins
PDF
Embedded C Programming O Level, C Level students, and diploma holder
PPTX
Introduction to Libre (Beginner Guide) .pptx
PPTX
Presentationonlinebusiness
PPTX
Successpptori
PPTX
Basics Of computer
PPTX
computer types
PPTX
cmd commands project
PPTX
Ppt of blogs
DOCX
Project report on blogs
Dalai Lama Succession Explained | History, Politics & China’s Role
Introduction to programming : flowchart, algorithm
Introduction to Python — great for beginners or as a refresher.
Arduino MCQ Collection: Types, Memory, Applications, and Real-World Uses | Te...
Group Captain Shubhanshu Shukla: India’s Return to Space After 41 Years | Ax-...
50+ Arduino MCQs with Answers | Beginners to Advanced Quiz for Electronics & IoT
MCQ INTERNET OF THINGS ARDUINO PROGREAMS - EMBEDDED C TYPES OF ARDUINO
Write a NumPy program to find the most frequent value in an array. Take two...
skills-Personality Development Multiple Choice Questions
Introduction to Arduino Its components & pins
Embedded C Programming O Level, C Level students, and diploma holder
Introduction to Libre (Beginner Guide) .pptx
Presentationonlinebusiness
Successpptori
Basics Of computer
computer types
cmd commands project
Ppt of blogs
Project report on blogs

Recently uploaded (20)

PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Approach and Philosophy of On baking technology
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Spectroscopy.pptx food analysis technology
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Big Data Technologies - Introduction.pptx
PPTX
MYSQL Presentation for SQL database connectivity
Building Integrated photovoltaic BIPV_UPV.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Assigned Numbers - 2025 - Bluetooth® Document
Approach and Philosophy of On baking technology
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Programs and apps: productivity, graphics, security and other tools
Group 1 Presentation -Planning and Decision Making .pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
SOPHOS-XG Firewall Administrator PPT.pptx
The Rise and Fall of 3GPP – Time for a Sabbatical?
Spectroscopy.pptx food analysis technology
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
A comparative analysis of optical character recognition models for extracting...
Reach Out and Touch Someone: Haptics and Empathic Computing
Spectral efficient network and resource selection model in 5G networks
Big Data Technologies - Introduction.pptx
MYSQL Presentation for SQL database connectivity

Operator of C language

  • 4.  These are the operators which are operators which are used to perform mathematical calculation like add, subtract, multiply and division. Symbols Operation Example precedence + Addition A+B Lowest - Subtraction A-b Lowest * Multiplicati on A*b Highest / Division a/b Highest % Module or reminder A%b Highest
  • 5.  A relational operator is an operator which is used to compose two values and result of such operation is always true or false.  Operator operations > Greater then < Less then >= Greater then equal to < = Less then equal to = = Equal to
  • 6. Operator Operation ! Logical not or negative && Logical and or conjunction ” Logical or Disjunction
  • 7.  General form :-  Identifier = Expression  for example : a =10 ;  The other assignment operator are +=,-=,*=.
  • 8.  A ) unary minus(-)  B) increment and decrement operator (++ & --)  C) address operator (&)  D) value at address operator (*)  E) NOT or Negative Operator (!)  F) Size of operator [size of ( )]
  • 9.  It can help the programmer in performing simple conditional operations. It is also called as ternary operator because it operate on these values .
  • 10. Operator Operations << Left shift of bits >> Right shift of bit ~ Once compliment & Bit wise and ~^ Bit wise x or ! Bit wise or
  • 11.  It is basically used to group the selected statement or expression. If a least of expression are separated by comma (c) language assume this list as a single statement.  for example : a=b, b=c,c=a+b;