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

What is s in c?

621


What is the use of ?: Operator?

671


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

3214


What are the characteristics of arrays in c?

616


The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?

669






Explain what are the standard predefined macros?

655


Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)

691


how is the examination pattern?

1599


Explain what is the use of a semicolon (;) at the end of every program statement?

740


What are the different types of C instructions?

681


Give me the code of in-order recursive and non-recursive.

889


What is difference between arrays and pointers?

584


What does c in a circle mean?

585


Explain why c is faster than c++?

578


What is assignment operator?

630