C and C++ Programming Operators

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

C AND C++ PROGRAMMING

OPERATORS

Gerald L. Almodiel

CS331: Computer Organization, Architecture and


Assembly Language Programming

College of Computer Studies


AMA Computer University
Topics Outline
2

 C++ Operators

 Arithmetic Operators

 Relational Operators

 Logical Operators

 Assignment Operators

CSCI6B : Computer Organization, Architecture and Assembly Language Programming 1/11/2014


C++ Operators
3

 What is operator ?
 Is a symbol that tells the compiler to
perform specific mathematical or logical
manipulations

 C++ Common Operators:


 Arithmetic Operators
 Relational Operators
 Logical Operators
 Assignment Operators

CSCI6B : Computer Organization, Architecture and Assembly Language Programming 1/11/2014


Arithmetic Operators
4

 Arithmetic Operators
 This are the operators in C++ that performs calculations

CSCI6B : Computer Organization, Architecture and Assembly Language Programming 1/11/2014


Relational Operators
5

 Relational Operators
 This are operators that evaluates condition statements

CSCI6B : Computer Organization, Architecture and Assembly Language Programming 1/11/2014


Logical Operators
6

 Logical Operators
 This are operators that evaluates two expression

CSCI6B : Computer Organization, Architecture and Assembly Language Programming 1/11/2014


Assignment Operators
7

CSCI6B : Computer Organization, Architecture and Assembly Language Programming 1/11/2014


Computer Organization, Architecture and Assembly
Language programming
8

ANY QUESTIONS ?

CSCI6B : Computer Organization, Architecture and Assembly Language Programming 1/11/2014


9

~ FIN

CSCI6B : Computer Organization, Architecture and Assembly Language Programming 1/11/2014

You might also like