Arithmetic Operators in C++
Get Into Code provides you with free C++ and Java Course in Hindi/Urdu and also provides you the opportunity to practice your skills to be perfect. In the previous video we have discussed about the Identifiers in C++. In this video we are going to discuss about Arithmetic Operators in C++.
Arithmetic Operators
Arithmetic Operators are simply Mathematical Operators such as + - * / %. Every operator have it own purpose such as "*" is used for multiplication of two or more numbers and "%" is used to find the remainder after dividing two numbers.
Watch The Video Below To Understand Arithmetic Operators in C++
The best thing about our site is that we provide our readers and viewers to practice their skills because Practice Puts Brain in Your Muscles. So, Go Ahead and Write a C++ program which find the remainder of 10/12?
Answer the Following Question to know how much you have learnt?
- Which datatype is accurate to store the exact value of cout<<22/7; ?
- float
- double
- Both of The These
- Which datatype is accurate to store the exact value of cout<<15/4; ?
- int
- float
- double
- Which datatype can store the exact value for cout<<4/2; ?
- int
- Float
- Both of these
- What will be the output of cout<<"5%2"; ?
- 2
- 5%2
- 1
- Which is the function of "%" ?
- To Calculate Remainder
- To Calculate Percentage
- To divide a number
No comments