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

Answers were Sorted based on User's Feedback



What is the function of ceil(X) defined in math.h do? A)It returns the value rounded down to the ne..

Answer / phani kumar s

C
ceil(45.90)--> 46
ceil(45.23)--> 46

Is This Answer Correct ?    14 Yes 1 No

What is the function of ceil(X) defined in math.h do? A)It returns the value rounded down to the ne..

Answer / subbu

answer is b

Is This Answer Correct ?    9 Yes 1 No

What is the function of ceil(X) defined in math.h do? A)It returns the value rounded down to the ne..

Answer / jj

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

Is This Answer Correct ?    6 Yes 2 No

Post New Answer

More C Interview Questions

How do you print only part of a string?

0 Answers  


Q.11 Generate the following pattern using code in any language(c/c++/java) for n no. of rows 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1

2 Answers  


What are the different types of endless loops?

0 Answers  


What would happen to X in this expression: X += 15; (assuming the value of X is 5)

0 Answers  


what is the difference between c and c++?

7 Answers  


The statement, int(*x[]) () what does in indicate?

0 Answers  


What is declaration and definition in c?

0 Answers  


what is the difference between c and java?

1 Answers  


write a program whose output will be- 1 12 123 1234

10 Answers  


what is the diff between the printf and sprintf functions?? and what is the syntax for this two functions ??

5 Answers  


what is the difference between const volatile int i & volatile const int j;

2 Answers   HCL,


Why cann't whole array can be passed to function as value.

1 Answers  


Categories