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

Is main an identifier in c?

607


which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;

2415


Can the size of an array be declared at runtime?

612


Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?

983


Is javascript written in c?

586






Why do we need arrays in c?

589


Tell me is null always defined as 0(zero)?

677


Is fortran still used today?

607


Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1

3663


What are the advantages of Macro over function?

1209


What is the difference between functions abs() and fabs()?

651


Why #include is used in c language?

605


How can you be sure that a program follows the ANSI C standard?

1133


What is graph in c?

587


What is meant by high-order and low-order bytes?

658