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
What is stack in c?
What is an lvalue in c?
What are the 3 types of structures?
Is there sort function in c?
write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58
What is scanf_s in c?
Explain what does the format %10.2 mean when included in a printf statement?
Explain about the constants which help in debugging?
Tell me with an example the self-referential structure?
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
Why malloc is faster than calloc?
What is the c language function prototype?
What is the difference between far and near in c?