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
Is main an identifier in c?
which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;
Can the size of an array be declared at runtime?
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?
Is javascript written in c?
Why do we need arrays in c?
Tell me is null always defined as 0(zero)?
Is fortran still used today?
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
What are the advantages of Macro over function?
What is the difference between functions abs() and fabs()?
Why #include is used in c language?
How can you be sure that a program follows the ANSI C standard?
What is graph in c?
What is meant by high-order and low-order bytes?