You need to Register First!

Before you Log-in...

TURBO C++ Operators HON
You need to Register First!

Before you Log-in...

TURBO C++ Operators HON
Would you like to react to this message? Create an account in a few clicks or log in to continue.


 
HomeHome  PortalPortal  GalleryGallery  SearchSearch  Latest imagesLatest images  RegisterRegister  Log inLog in  
Sample design and thinking of Something new Graphical design.... To all member's of this website please Fill up the form of your Personal Information for Special Reference of our Forum thank you!
For non-member just post your comment in the chatbox. Thanks for Visiting our site.
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Latest topics
» AutoCAD-tutorial-01
TURBO C++ Operators Icon_minitimeThu Dec 13, 2018 3:49 pm by Kuteshikimi

» Definition-of-Computer-Graphics
TURBO C++ Operators Icon_minitimeThu Dec 13, 2018 3:47 pm by Kuteshikimi

» Explore-the-Graphical-User-Interface
TURBO C++ Operators Icon_minitimeThu Dec 13, 2018 3:44 pm by Kuteshikimi

» A-BRIEF-HISTORY-OF-COMPUTER-GRAPHICS
TURBO C++ Operators Icon_minitimeThu Dec 13, 2018 3:42 pm by Kuteshikimi

» Lesson 7- Network Design Models
TURBO C++ Operators Icon_minitimeSun Nov 25, 2018 2:29 am by Kuteshikimi

» Lesson 6-Internet and Networking Devices
TURBO C++ Operators Icon_minitimeSun Nov 25, 2018 2:27 am by Kuteshikimi

» Lesson 5-Introduction to Data Communications
TURBO C++ Operators Icon_minitimeSun Nov 25, 2018 2:26 am by Kuteshikimi

» Lesson 4-Network Cabling
TURBO C++ Operators Icon_minitimeSun Nov 25, 2018 2:19 am by Kuteshikimi

» Lesson 3-Types of Internet Connection
TURBO C++ Operators Icon_minitimeSun Nov 25, 2018 2:19 am by Kuteshikimi

ENGINEERING.COM GAMES
Top 100 Games
Game Site Top 100


Most active topic starters
Kuteshikimi
TURBO C++ Operators Vote_lcapTURBO C++ Operators Voting_barTURBO C++ Operators Vote_rcap 
imbaBOY
TURBO C++ Operators Vote_lcapTURBO C++ Operators Voting_barTURBO C++ Operators Vote_rcap 
Top posters
Kuteshikimi
TURBO C++ Operators Vote_lcapTURBO C++ Operators Voting_barTURBO C++ Operators Vote_rcap 
imbaBOY
TURBO C++ Operators Vote_lcapTURBO C++ Operators Voting_barTURBO C++ Operators Vote_rcap 
markeeh17
TURBO C++ Operators Vote_lcapTURBO C++ Operators Voting_barTURBO C++ Operators Vote_rcap 
Top posting users this month
No user
Top posting users this week
No user
Visitor’s Unique Page-View
Visitor Counter
Visitor Counter
Visitor’s
free counters
Globe
Similar topics

 

 TURBO C++ Operators

Go down 
AuthorMessage
Kuteshikimi
Admin
Admin
Kuteshikimi


Posts : 52
Join date : 2011-09-01
Age : 33
Location : Cavite City, Philippines

TURBO C++ Operators Empty
PostSubject: TURBO C++ Operators   TURBO C++ Operators Icon_minitimeFri Jul 06, 2012 8:08 am

 OPERATORS

Operators are symbols that execute a corresponding action during the program. In C++ there are several categories of operators each having a unique feature. Below are the commonly known categories of operators.

o Assignment Operators
o Mathematical Operators
o Increment and Decrement Operators
o Relational Operators
O Logical Operators

 ASSIGNMENT OPERATORS (=, += , -= , *= , /= , %=)
Ex. A= b+c;

Assigning A as with the sum of b and c.
The operand that holds the value is found on the left side of the assignment statement operator while the assigned values were found on the right side.



 MATHEMATICAL OPERATORS (+, - , *, /, %)

+ for addition
- for subtraction
* for multiplication
/ for division
% for yielding the remainder
 INCREMENT (++) AND DECREMENT OPERATORS (--)

The operators increase and decrease the original values assigned to them by 1.
Simply put a++; will yield an equivalent result to a=a+1; similarly, a--; is the same as a=a-1.
 RELATIONAL OPERATIONS (==, !=, >,<,>=,<=)

== EQUAL
!= NOT EQUAL
> GREATER THAN
< LESS THAN
>= GREATER THAN OR EQUAL
<= LESS THAN OR EQUAL



 LOGICAL OPERATIONS ( &&, ||, !)


TRUTH TABLE OF && (AND), || (OR), and !(NOT)


AND (&&) OR (||) NOT (!)
X Y RESULT X Y RESULT X RESULT
T T T T T T T F
T F F T F T F T
F T F F T T
F F F F F F
Back to top Go down
https://kuteshikimi.board-directory.net
 
TURBO C++ Operators
Back to top 
Page 1 of 1
 Similar topics
-
»  Enviroment of turbo C++

Permissions in this forum:You cannot reply to topics in this forum
 :: FORUM :: Application Program :: C++-
Jump to: