Write a C program to find the difference of two numbers
All Answers
total answers (1)
Severity: 8192
Message: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
Filename: libraries/Filtered_db.php
Line Number: 23
total answers (1)
Difference of two integer numbers program
Output
Using abs() – A Shortest way to find difference of two numbers
By using abs() function we can get the difference of two integer numbers without comparing them, abs() is a library function which is declared in stdlib.h – This function returns the absolute value of given integer.
Consider the example
Output
need an explanation for this answer? contact us directly to get an explanation for this answer