This document summarizes common operators in programming languages. It describes arithmetic, comparison, assignment, logical, bitwise, and membership operators. For each type of operator, it provides examples of common operators like addition, subtraction, equality, assignment, AND, OR, and examples of their usage. The document is intended as an introduction to different types of operators that can manipulate and compare values in programming.
This presentation contain description about C Operators.
It explains Arithmetic operators, relational operators, logical operators, increment/decrement operators, conditional and bitwise operators are explained with example.
Operators in C and C++ Programming Language:
Operators are the symbols which tells the language compiler to perform a specific mathematical or logical function. C and C++ programming is very rich in Operators. C and C++ Language Provides the following type of Operator:-
1. Arithmetic Operators
2. Relational Operators
3. Logical Operators
4. Bitwise Operators
5. Assignment Operators
6. Misc Operators
You will Study all these operators with these Slides. Hope you will find it helpful. If you find it helpful then please Let others know by Like and Sharing. If you don't like so please let us know. So that i can make it more better.
If you have to ask anything about any operator then you can ask in comments.
Thankyou for visit
Sahyog Vishwakarma
This presentation contain description about C Operators.
It explains Arithmetic operators, relational operators, logical operators, increment/decrement operators, conditional and bitwise operators are explained with example.
Operators in C and C++ Programming Language:
Operators are the symbols which tells the language compiler to perform a specific mathematical or logical function. C and C++ programming is very rich in Operators. C and C++ Language Provides the following type of Operator:-
1. Arithmetic Operators
2. Relational Operators
3. Logical Operators
4. Bitwise Operators
5. Assignment Operators
6. Misc Operators
You will Study all these operators with these Slides. Hope you will find it helpful. If you find it helpful then please Let others know by Like and Sharing. If you don't like so please let us know. So that i can make it more better.
If you have to ask anything about any operator then you can ask in comments.
Thankyou for visit
Sahyog Vishwakarma
In the concept of constructor and destructors can be easily understand to the concepts of c++ in the concepts contain type conversion and types of conversion are explained with examples
In the concept of constructor and destructors can be easily understand to the concepts of c++ in the concepts contain type conversion and types of conversion are explained with examples
Python tutorials for beginners | IQ Online TrainingRahul Tandale
Python training program walks you through basics of python language and gives you in-depth knowledge of function,collections,REs,Exception Handing,
Socket programming and OOP basics.The course also explains object-oriented as well as functional programming techniques,error handling,packaging system and network programming.The course curriculum is designed for developer,system administrators and QA engineers.
This program also covers many of python extensions(libraries)as well as best practices
How to Split Bills in the Odoo 17 POS ModuleCeline George
Bills have a main role in point of sale procedure. It will help to track sales, handling payments and giving receipts to customers. Bill splitting also has an important role in POS. For example, If some friends come together for dinner and if they want to divide the bill then it is possible by POS bill splitting. This slide will show how to split bills in odoo 17 POS.
The Indian economy is classified into different sectors to simplify the analysis and understanding of economic activities. For Class 10, it's essential to grasp the sectors of the Indian economy, understand their characteristics, and recognize their importance. This guide will provide detailed notes on the Sectors of the Indian Economy Class 10, using specific long-tail keywords to enhance comprehension.
For more information, visit-www.vavaclasses.com
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
Ethnobotany and Ethnopharmacology:
Ethnobotany in herbal drug evaluation,
Impact of Ethnobotany in traditional medicine,
New development in herbals,
Bio-prospecting tools for drug discovery,
Role of Ethnopharmacology in drug evaluation,
Reverse Pharmacology.
The Art Pastor's Guide to Sabbath | Steve ThomasonSteve Thomason
What is the purpose of the Sabbath Law in the Torah. It is interesting to compare how the context of the law shifts from Exodus to Deuteronomy. Who gets to rest, and why?
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
This presentation provides a briefing on how to upload submissions and documents in Google Classroom. It was prepared as part of an orientation for new Sainik School in-service teacher trainees. As a training officer, my goal is to ensure that you are comfortable and proficient with this essential tool for managing assignments and fostering student engagement.
1. Prof. Neeraj Bhargava
Vishal Dutt
Department of Computer Science, School of
Engineering & System Sciences
MDS University, Ajmer
2. Introduction
Operators are the constructs which can manipulate the
value of operands.
Example
10+ 11 = 21.
#Here, 10 and 11 are called operands and + is called operator.
4. Arithmetic Operators
+ Addition Adds values on either side of the operator. a + b = 30
- Subtraction Subtracts right hand operand from left hand
operand.
a – b = -10
*
Multiplication
Multiplies values on either side of the
operator
a * b = 200
/ Division Divides left hand operand by right hand
operand
b / a = 2
% Modulus Divides left hand operand by right hand
operand and returns remainder
b % a = 0
** Exponent Performs exponential (power) calculation on
operators
a**b =10 to the
power 20
// Floor Division - The division of operands
where the result is the quotient in which the
digits after the decimal point are removed.
But if one of the operands is negative, the
result is floored, i.e., rounded away from zero
(towards negative infinity) −
9//2 = 4 and
9.0//2.0 = 4.0, -11//3
= -4, -11.0//3 = -4.0
5. Comparison Operators
Operator Description Example
== If the values of two operands are equal, then the condition
becomes true.
(a == b) is not true.
!= If values of two operands are not equal, then condition becomes
true.
(a != b) is true.
<> If values of two operands are not equal, then condition becomes
true.
(a <> b) is true. This is
similar to != operator.
> If the value of left operand is greater than the value of right
operand, then condition becomes true.
(a > b) is not true.
< If the value of left operand is less than the value of right
operand, then condition becomes true.
(a < b) is true.
>= If the value of left operand is greater than or equal to the value of
right operand, then condition becomes true.
(a >= b) is not true.
<= If the value of left operand is less than or equal to the value of
right operand, then condition becomes true.
(a <= b) is true.
6. Assignment Operators
Operator Description Example
= Assigns values from right side operands to left side operand c = a + b assigns value of a + b
into c
+= Add AND It adds right operand to the left operand and assign the result to left
operand
c += a is equivalent to c = c +
a
-= Subtract
AND
It subtracts right operand from the left operand and assign the
result to left operand c -= a is equivalent to c = c - a
*= Multiply
AND
It multiplies right operand with the left operand and assign the
result to left operand c *= a is equivalent to c = c * a
/= Divide
AND
It divides left operand with the right operand and assign the result
to left operand c /= a is equivalent to c = c / a
%= Modulus
AND
It takes modulus using two operands and assign the result to left
operand
c %= a is equivalent to c = c
% a
**=
Exponent
AND
Performs exponential (power) calculation on operators and assign
value to the left operand
c **= a is equivalent to c = c
** a
//= Floor
Division
It performs floor division on operators and assign value to the left
operand
c //= a is equivalent to c = c //
a
7. Bitwise Operators
Operator Description Example
& Binary
AND
Operator copies a bit to the result if it
exists in both operands (a & b) (means 0000 1100)
| Binary
OR
It copies a bit if it exists in either
operand.
(a | b) = 61 (means 0011 1101)
^ Binary
XOR
It copies the bit if it is set in one operand
but not both. (a ^ b) = 49 (means 0011 0001)
~ Binary
Ones
Compleme
nt
It is unary and has the effect of 'flipping'
bits.
(~a ) = -61 (means 1100 0011 in 2's
complement form due to a signed binary
number.
<< Binary
Left Shift
The left operands value is moved left by
the number of bits specified by the right
operand.
a << 2 = 240 (means 1111 0000)
>> Binary
Right Shift
The left operands value is moved right
by the number of bits specified by the
right operand.
a >> 2 = 15 (means 0000 1111)
8. Logical Operators
Operator Description Example
and
Logical
AND
If both the operands are true
then condition becomes true.
(a and b) is true.
or Logical
OR
If any of the two operands are
non-zero then condition
becomes true.
(a or b) is true.
not
Logical
NOT
Used to reverse the logical state
of its operand.
Not(a and b) is
false.