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

What is FIFO?

0 Answers  


What are the similarities between c and c++?

0 Answers  


what is the return value (status code) of exit() function.... what the arguments(integer value) passed to it means....

1 Answers   TCS,


Write a program in c to print * * * * * *******

1 Answers  


What is the difference between array and pointer in c?

0 Answers  






What are data types in c language?

0 Answers  


What are the parts of c program?

0 Answers  


A.C func() { pritnf(" in fuction %d",MACRO); } MAIN.c testfunc() { #define MACRO 10 printf("in test function %d", MACRO); } main() { printf("in main %d",MACRO); func(); testfunc(); getch(); }

2 Answers   Wipro,


What are the application of c?

0 Answers  


i got 75% in all semester am i eligible for your company

0 Answers   Infosys,


Can we use any name in place of argv and argc as command line arguments?

0 Answers  


write a program to add two numbers of any size.....(remember any size)

1 Answers  


Categories