Logical Operators:
C++ provides us the facility of combining logical expression and evaluate their behavior. So, in this C tutorial for beginner, we are going to discuss logical operators in c. We are going to discuss how to form and evaluate logical expressions and see how they work.
Below are three logical operators in C++ that we normally use:
Operator Description
! not
&& ...
Showing posts with label c operators. Show all posts
Showing posts with label c operators. Show all posts
Sunday, 6 October 2013
Relational Operators in C++
Relational Operators In C++:
To make decisions in a C++ program, you must be able to compare conditions. So, in this C tutorial for beginners we’re going to discuss relational c operators. For example, if we want to see who has the highest, average and lowest marks in some class then we need to develop such algorithm which would require comparing marks of students so, we are going to need relational c operators for that.
In C++, a condition is represented by a logical expression. It would be either true or false. And true and false are Boolean...
Saturday, 28 September 2013
Operators And Their Precedence In C++
08:02
c language operators, c operators, c tutorial for beginners, learn c online, precedence of operators in c++
2 comments
Operators:
Precedence of operators in c++ is the most basic thing used in computer for calculations,these calculations can be done by use of several arithmetic operators. So, we are going to discuss arithmetic operators in this c tutorial for beginners. There are five arithmetic operators in C++. Those c++ operators are listed below:
+ (Addition)
– (Subtraction)
* (Multiplication)
/ (Division)
% (Mod, modulus or remainder)
You can use these operator in both integral and floating number data types except...
Subscribe to:
Posts (Atom)