- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to subtract integers?
Subtraction is not commutative for integers. That is, for any two integers p and q,
- p – q ≠ q – p
Example: For two integers 9 and 7, their subtraction,
- 9 – 7 ≠ 7 – 9 (Subtraction is not commutative)
Subtraction is not associative for integers. That is, for any three integers a, b, and c,
- a – (b – c) ≠ (a – b) – c
For three integers, 4, 5, and 6, their subtraction,
- 4 – (5 – 6 ) ≠ (4 – 5) – 6
Advertisements