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 / jj

ceil(2.3)====3
ceil(-2.3)===-2

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9

1422


What does stand for?

582


Is c high or low level?

570


Is boolean a datatype in c?

535


What is difference between arrays and pointers?

573






What is the 'named constructor idiom'?

629


What is a file descriptor in c?

555


Explain the advantages of using macro in c language?

566


Differentiate between ordinary variable and pointer in c.

611


What is the advantage of an array over individual variables?

728


what is reason of your company position's in india no. 1.

1770


What is strcpy() function?

650


What is character constants?

706


How can I get random integers in a certain range?

607


What is nested structure with example?

616