Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Programming
→
ASP Dot net Interview Questions in Programming
→
Differentiate abs() function from fabs() function.
1.
Differentiate abs() function from fabs() function.
Answer»
S.no
abs()
fabs()
1.
Used for integer values
Used only for floating type
2.
PROTOTYPE
is under &
LT
; stdlib.h &
GT
;
Prototype is under < math.h >
3.
Returns absolute value of integer
Returns absolute value of a floating-point
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
How to get string length of given string in C?
Write a program to find the biggest number of three numbers in C?
How we can insert comments in a C program?
Explain the difference between #include "..." and #include in C?
Explain the difference between structs and unions in C?
What are the string functions? List some string functions available in C.
What is the purpose of main( ) in C language?
Write a program to print numbers from 1 to 100 without using loop in C?
Write a program to generate random numbers in C?
What is modifier & how many types of modifiers available in C?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies