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

How do I get a null pointer in my programs?

620


Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above

662


Multiply an Integer Number by 2 Without Using Multiplication Operator

320


How can I remove the leading spaces from a string?

634


What are the uses of null pointers?

590






What is pre-emptive data structure and explain it with example?

3210


What is an array? What the different types of arrays in c?

660


Does c have function or method?

591


Explain how can a program be made to print the name of a source file where an error occurs?

686


What is modifier & how many types of modifiers available in c?

612


Define macros.

785


What is the purpose of the preprocessor directive error?

682


What is the purpose of sprintf?

620


Implement bit Array in C.

676


Explain the difference between malloc() and calloc() in c?

578