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 / phani kumar s
C
ceil(45.90)--> 46
ceil(45.23)--> 46
| Is This Answer Correct ? | 14 Yes | 1 No |
Post New Answer View All Answers
Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?
Describe the header file and its usage in c programming?
What is #pragma statements?
Explain what is a stream?
List out few of the applications that make use of Multilinked Structures?
What is the purpose of sprintf() function?
What is the difference between array and linked list in c?
What are the features of c language?
What is the difference between new and malloc functions?
What is assert and when would I use it?
writ a program to compare using strcmp VIVA and viva with its output.
Multiply an Integer Number by 2 Without Using Multiplication Operator
How we can insert comments in a c program?
What is nested structure with example?
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }