Vidyalelo
C Programming · Q100

Standard Library Functions

Programming · C Programming · question 100

Q100

Which statement is true regarding abs() and labs()?

A.
The abs() function is similar to the labs() function, except that the argument and the returned value each of them have type long int
Answer
B.
The abs() function is not similar to the labs() function, except that the argument and the returned value in both functions have type long int
C.
The abs() function is similar to the labs() function, except that the argument and the returned value each have type short int
D.
The abs() function is not similar to the labs() function, except that the argument and the returned value in both function have type short int

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board