SlideShare a Scribd company logo
Pt. Mohan Lal SD College For Women
Gurdaspur
TOPIC : C Operators
Created by: Mrs. Rajni
Asst. Prof. in Computer Science
What is an operator
 An operator is a symbol that tells the computer to
perform certain mathematical or logical
manipulations.
 These operators are used in programs to manipulate
data and variables
C Operators
1. Arithmetic operators
2. Relational Operators
3. Logical Operators
4. Assignment Operators
5. Increments and Decrement Operators
6. Conditional Operators
7. Bitwise Operators
8. Special Operators
Arithmetic operators
Operator Meaning
+ Addition or Unary Plus
– Subtraction or Unary Minus
* Multiplication
/ Division
% Modulus Operator
Integer Arithmetic
Let x = 27 and y = 5
z = x + y 32
z = x – y 22
z = x * y 115
z = x % y 2
z = x / y 5
Floating point arithmetic
Let x = 14.0 and y = 4.0
then z = x + y 18.0
z = x – y 10.0
z = x * y 56.0
z = x / y 3.50
Relational Operators
Operator Meaning
< is less than
<= is less than or equal to
> is greater than
>= is greater than or equal to
== is equal to
!= is not equal to
Relational Expressions
6.5 <= 25 TRUE
-65 > 0 FALSE 10
< 7 + 5 TRUE
Logical Operators
Operator Meaning
&& Logical AND
|| Logical OR
! Logical NOT
Find out the answer
a > b && x = = 10
a < m || a < n
! (x >= y)
a = 5
b = 4
x=10, y = 9
m=6
n = 3
Assignment Operators
Statement with simple Statement with
assignment operator shorthand operator
a = a + 1 a += 1
a = a – 1 a -= 1
a = a * (n+1) a *= (n+1)
a = a / (n+1) a /= (n+1)
a = a % b a %= b
Increment and Decrement
OperatorsTwo most useful operators which are present in 'c' are
increment and decrement operators. Operators: ++ and
–-
The operator ++ adds one to the operand
The operator -- subtracts one from the operand.
Both are unary operators and can be used as pre or post
increment/decrement
CONDITIONAL OPERATORS
 These conditional operator are used to construct
conditional expressions of the form.
Syntax: exp1?exp2:exp3.
where exp1,exp2,exp3 are expressions.
Operator: ?: (ternary operator)
BITWISE OPERATORS
 These operators works on bit level
 Applied to Integers only
OPERATOR MEANING
& Bitwise AND
| Bitwise OR
^ Bitwise Exclusive OR
<< Shift Left
>> Shift Right
SPECIAL OPERATORS
 C' supports some special operators such as comma
operator, sizeof operator and pointer operators.
 Comma operator: the comma operator is used to
combine related expressions. A comma linked list of
expressions are evaluated left to right and the value of
right most expression is the value of combined
expression.. Example: value=(x=10, y=5, x+y)
SPECIAL OPERATORS
 Sizeof Operator
Sizeof is an operator used to return the number of bytes
the operand occupies. Syntax:
m=sizeof(sum);
k=sizeof(2351);
Thanks

More Related Content

What's hot

Theory3
Theory3Theory3
operator
operatoroperator
operator
aamirsahito
 
Opeartor &amp; expression
Opeartor &amp; expressionOpeartor &amp; expression
Opeartor &amp; expression
V.V.Vanniapermal College for Women
 
SPSS
SPSSSPSS
Chap 5 c++
Chap 5 c++Chap 5 c++
Chap 5 c++
Widad Jamaluddin
 
2 r algebra
2 r algebra2 r algebra
Error analysis
Error analysisError analysis
Error analysis
Saloni Singhal
 
Difcalc10week2
Difcalc10week2Difcalc10week2
Difcalc10week2
Carlos Vázquez
 
Chap 4 c++
Chap 4 c++Chap 4 c++
Chap 4 c++
Widad Jamaluddin
 
C Sharp Jn (2)
C Sharp Jn (2)C Sharp Jn (2)
C Sharp Jn (2)
guest58c84c
 
Operators
OperatorsOperators
Matlab Files
Matlab FilesMatlab Files
Matlab Files
Saloni Singhal
 
DiffCalcFirstPartialReview
DiffCalcFirstPartialReviewDiffCalcFirstPartialReview
DiffCalcFirstPartialReview
Carlos Vázquez
 
Basics of c programming cit r.sandhiya
Basics of c programming  cit r.sandhiyaBasics of c programming  cit r.sandhiya
Basics of c programming cit r.sandhiya
Dr.Sandhiya Ravi
 
Difcalc10week3
Difcalc10week3Difcalc10week3
Difcalc10week3
Carlos Vázquez
 
Python operators part2
Python operators part2Python operators part2
Python operators part2
Vishal Dutt
 
Functions lect
Functions lectFunctions lect
Functions lect
AdnanBukhari13
 
python operators.pptx
python operators.pptxpython operators.pptx
python operators.pptx
irsatanoli
 
Assignment problem
Assignment problemAssignment problem
Assignment problem
Abu Bashar
 

What's hot (19)

Theory3
Theory3Theory3
Theory3
 
operator
operatoroperator
operator
 
Opeartor &amp; expression
Opeartor &amp; expressionOpeartor &amp; expression
Opeartor &amp; expression
 
SPSS
SPSSSPSS
SPSS
 
Chap 5 c++
Chap 5 c++Chap 5 c++
Chap 5 c++
 
2 r algebra
2 r algebra2 r algebra
2 r algebra
 
Error analysis
Error analysisError analysis
Error analysis
 
Difcalc10week2
Difcalc10week2Difcalc10week2
Difcalc10week2
 
Chap 4 c++
Chap 4 c++Chap 4 c++
Chap 4 c++
 
C Sharp Jn (2)
C Sharp Jn (2)C Sharp Jn (2)
C Sharp Jn (2)
 
Operators
OperatorsOperators
Operators
 
Matlab Files
Matlab FilesMatlab Files
Matlab Files
 
DiffCalcFirstPartialReview
DiffCalcFirstPartialReviewDiffCalcFirstPartialReview
DiffCalcFirstPartialReview
 
Basics of c programming cit r.sandhiya
Basics of c programming  cit r.sandhiyaBasics of c programming  cit r.sandhiya
Basics of c programming cit r.sandhiya
 
Difcalc10week3
Difcalc10week3Difcalc10week3
Difcalc10week3
 
Python operators part2
Python operators part2Python operators part2
Python operators part2
 
Functions lect
Functions lectFunctions lect
Functions lect
 
python operators.pptx
python operators.pptxpython operators.pptx
python operators.pptx
 
Assignment problem
Assignment problemAssignment problem
Assignment problem
 

Similar to C operators ppt

Types of operators in C
Types of operators in CTypes of operators in C
Types of operators in C
Prabhu Govind
 
lecture4 pgdca.pptx
lecture4 pgdca.pptxlecture4 pgdca.pptx
lecture4 pgdca.pptx
classall
 
Programming for Problem Solving
Programming for Problem SolvingProgramming for Problem Solving
Programming for Problem Solving
Kathirvel Ayyaswamy
 
Unit ii chapter 1 operator and expressions in c
Unit ii chapter 1 operator and expressions in cUnit ii chapter 1 operator and expressions in c
Unit ii chapter 1 operator and expressions in c
Sowmya Jyothi
 
Operators
OperatorsOperators
Operators
jayesh30sikchi
 
Operator in C language
Operator in C languageOperator in C language
Operator in C language
KanhaiyaSharma52
 
operators.pptx
operators.pptxoperators.pptx
operators.pptx
ruchisuru20001
 
5_Operators.pdf
5_Operators.pdf5_Operators.pdf
5_Operators.pdf
NiraliArora2
 
This slide contains information about Operators in C.pptx
This slide contains information about Operators in C.pptxThis slide contains information about Operators in C.pptx
This slide contains information about Operators in C.pptx
ranaashutosh531pvt
 
Operator
OperatorOperator
Operator
VIKASH SAMRAT
 
Basic c operators
Basic c operatorsBasic c operators
Basic c operators
dishti7
 
power point presentation on topic in C++ called "OPERATORS"
power point presentation on topic in C++ called "OPERATORS"power point presentation on topic in C++ called "OPERATORS"
power point presentation on topic in C++ called "OPERATORS"
sj9399037128
 
operator ppt.ppt
operator ppt.pptoperator ppt.ppt
operator ppt.ppt
MrSharadtechnical
 
Chapter 3.3
Chapter 3.3Chapter 3.3
Chapter 3.3
sotlsoc
 
Operators inc c language
Operators inc c languageOperators inc c language
Operators inc c language
Tanmay Modi
 
Operators and expressions in c language
Operators and expressions in c languageOperators and expressions in c language
Operators and expressions in c language
tanmaymodi4
 
Class_IX_Operators.pptx
Class_IX_Operators.pptxClass_IX_Operators.pptx
Class_IX_Operators.pptx
rinkugupta37
 
Operators and expressions in C++
Operators and expressions in C++Operators and expressions in C++
Operators and expressions in C++
Neeru Mittal
 
c programming2.pptx
c programming2.pptxc programming2.pptx
c programming2.pptx
YuvarajuCherukuri
 
Coper in C
Coper in CCoper in C
Coper in C
thirumalaikumar3
 

Similar to C operators ppt (20)

Types of operators in C
Types of operators in CTypes of operators in C
Types of operators in C
 
lecture4 pgdca.pptx
lecture4 pgdca.pptxlecture4 pgdca.pptx
lecture4 pgdca.pptx
 
Programming for Problem Solving
Programming for Problem SolvingProgramming for Problem Solving
Programming for Problem Solving
 
Unit ii chapter 1 operator and expressions in c
Unit ii chapter 1 operator and expressions in cUnit ii chapter 1 operator and expressions in c
Unit ii chapter 1 operator and expressions in c
 
Operators
OperatorsOperators
Operators
 
Operator in C language
Operator in C languageOperator in C language
Operator in C language
 
operators.pptx
operators.pptxoperators.pptx
operators.pptx
 
5_Operators.pdf
5_Operators.pdf5_Operators.pdf
5_Operators.pdf
 
This slide contains information about Operators in C.pptx
This slide contains information about Operators in C.pptxThis slide contains information about Operators in C.pptx
This slide contains information about Operators in C.pptx
 
Operator
OperatorOperator
Operator
 
Basic c operators
Basic c operatorsBasic c operators
Basic c operators
 
power point presentation on topic in C++ called "OPERATORS"
power point presentation on topic in C++ called "OPERATORS"power point presentation on topic in C++ called "OPERATORS"
power point presentation on topic in C++ called "OPERATORS"
 
operator ppt.ppt
operator ppt.pptoperator ppt.ppt
operator ppt.ppt
 
Chapter 3.3
Chapter 3.3Chapter 3.3
Chapter 3.3
 
Operators inc c language
Operators inc c languageOperators inc c language
Operators inc c language
 
Operators and expressions in c language
Operators and expressions in c languageOperators and expressions in c language
Operators and expressions in c language
 
Class_IX_Operators.pptx
Class_IX_Operators.pptxClass_IX_Operators.pptx
Class_IX_Operators.pptx
 
Operators and expressions in C++
Operators and expressions in C++Operators and expressions in C++
Operators and expressions in C++
 
c programming2.pptx
c programming2.pptxc programming2.pptx
c programming2.pptx
 
Coper in C
Coper in CCoper in C
Coper in C
 

More from RajniKashyap9

Mail merge
Mail mergeMail merge
Mail merge
RajniKashyap9
 
Introduction to structured query language (sql) (1)
Introduction to structured query language (sql) (1)Introduction to structured query language (sql) (1)
Introduction to structured query language (sql) (1)
RajniKashyap9
 
Computer software
Computer softwareComputer software
Computer software
RajniKashyap9
 
Operating systems11 9-07
Operating systems11 9-07Operating systems11 9-07
Operating systems11 9-07
RajniKashyap9
 
C language
C languageC language
C language
RajniKashyap9
 
Basic computer organization
Basic computer organizationBasic computer organization
Basic computer organization
RajniKashyap9
 
Internet
InternetInternet
Internet
RajniKashyap9
 

More from RajniKashyap9 (7)

Mail merge
Mail mergeMail merge
Mail merge
 
Introduction to structured query language (sql) (1)
Introduction to structured query language (sql) (1)Introduction to structured query language (sql) (1)
Introduction to structured query language (sql) (1)
 
Computer software
Computer softwareComputer software
Computer software
 
Operating systems11 9-07
Operating systems11 9-07Operating systems11 9-07
Operating systems11 9-07
 
C language
C languageC language
C language
 
Basic computer organization
Basic computer organizationBasic computer organization
Basic computer organization
 
Internet
InternetInternet
Internet
 

Recently uploaded

ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
JamalHussainArman
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
anoopmanoharan2
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
Wearable antenna for antenna applications
Wearable antenna for antenna applicationsWearable antenna for antenna applications
Wearable antenna for antenna applications
Madhumitha Jayaram
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
PauloRodrigues104553
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
rpskprasana
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
mahammadsalmanmech
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
yokeleetan1
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
Ratnakar Mikkili
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
heavyhaig
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
RadiNasr
 

Recently uploaded (20)

ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
Wearable antenna for antenna applications
Wearable antenna for antenna applicationsWearable antenna for antenna applications
Wearable antenna for antenna applications
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
 

C operators ppt

  • 1. Pt. Mohan Lal SD College For Women Gurdaspur TOPIC : C Operators Created by: Mrs. Rajni Asst. Prof. in Computer Science
  • 2. What is an operator  An operator is a symbol that tells the computer to perform certain mathematical or logical manipulations.  These operators are used in programs to manipulate data and variables
  • 3. C Operators 1. Arithmetic operators 2. Relational Operators 3. Logical Operators 4. Assignment Operators 5. Increments and Decrement Operators 6. Conditional Operators 7. Bitwise Operators 8. Special Operators
  • 4. Arithmetic operators Operator Meaning + Addition or Unary Plus – Subtraction or Unary Minus * Multiplication / Division % Modulus Operator
  • 5. Integer Arithmetic Let x = 27 and y = 5 z = x + y 32 z = x – y 22 z = x * y 115 z = x % y 2 z = x / y 5
  • 6. Floating point arithmetic Let x = 14.0 and y = 4.0 then z = x + y 18.0 z = x – y 10.0 z = x * y 56.0 z = x / y 3.50
  • 7. Relational Operators Operator Meaning < is less than <= is less than or equal to > is greater than >= is greater than or equal to == is equal to != is not equal to
  • 8. Relational Expressions 6.5 <= 25 TRUE -65 > 0 FALSE 10 < 7 + 5 TRUE
  • 9. Logical Operators Operator Meaning && Logical AND || Logical OR ! Logical NOT
  • 10. Find out the answer a > b && x = = 10 a < m || a < n ! (x >= y) a = 5 b = 4 x=10, y = 9 m=6 n = 3
  • 11. Assignment Operators Statement with simple Statement with assignment operator shorthand operator a = a + 1 a += 1 a = a – 1 a -= 1 a = a * (n+1) a *= (n+1) a = a / (n+1) a /= (n+1) a = a % b a %= b
  • 12. Increment and Decrement OperatorsTwo most useful operators which are present in 'c' are increment and decrement operators. Operators: ++ and –- The operator ++ adds one to the operand The operator -- subtracts one from the operand. Both are unary operators and can be used as pre or post increment/decrement
  • 13. CONDITIONAL OPERATORS  These conditional operator are used to construct conditional expressions of the form. Syntax: exp1?exp2:exp3. where exp1,exp2,exp3 are expressions. Operator: ?: (ternary operator)
  • 14. BITWISE OPERATORS  These operators works on bit level  Applied to Integers only OPERATOR MEANING & Bitwise AND | Bitwise OR ^ Bitwise Exclusive OR << Shift Left >> Shift Right
  • 15. SPECIAL OPERATORS  C' supports some special operators such as comma operator, sizeof operator and pointer operators.  Comma operator: the comma operator is used to combine related expressions. A comma linked list of expressions are evaluated left to right and the value of right most expression is the value of combined expression.. Example: value=(x=10, y=5, x+y)
  • 16. SPECIAL OPERATORS  Sizeof Operator Sizeof is an operator used to return the number of bytes the operand occupies. Syntax: m=sizeof(sum); k=sizeof(2351);