What is the function of ceil(X) defined in math.h do?
A)It returns the value rounded down to the next lower
integer
B)it returns the value rounded up to the next higher integer
C)the Next Higher Value
D)the next lower value

Answer Posted / phani kumar s

C
ceil(45.90)--> 46
ceil(45.23)--> 46

Is This Answer Correct ?    14 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1

3256


What is #include in c?

591


What is the difference between array and pointer?

560


How can I trap or ignore keyboard interrupts like control-c?

606


Write a program to generate random numbers in c?

651






What are the different types of pointers used in c language?

608


Explain how can I prevent another program from modifying part of a file that I am modifying?

629


What does %c do in c?

578


What are structure members?

586


What is property type c?

596


What is the difference between array_name and &array_name?

768


A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference

622


When can you use a pointer with a function?

555


What is an lvalue?

627


Can you write a programmer for FACTORIAL using recursion?

604