2. 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
Answer / guest is wrong
B)it returns the value rounded up to the next higher integer
| Is This Answer Correct ? | 13 Yes | 0 No |
Answer / ramya
b) it returns the value rounded up to the next hiher integer
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / guest
A)It returns the value rounded down to the next lower
integer
| Is This Answer Correct ? | 1 Yes | 3 No |
How do you convert strings to numbers in C?
Is there any demerits of using pointer?
Why can arithmetic operations not be performed on void pointers?
How can variables be characterized?
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
What are qualifiers and modifiers c?
what is difference between getchar,putchar functions and printf and scanf function? does putchar show output only when input given to it
why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above
simple c program for 12345 convert 54321 with out using string
In the following code segment what will be the result of the function, value of x , value of y { unsigned int x=-1; int y; y = ~0; if(x == y) printf("same"); else printf("not same"); } a) same, MAXINT, -1 b) not same, MAXINT, -MAXINT c) same , MAXUNIT, -1 d) same, MAXUNIT, MAXUNIT e) not same, MAXINT, MAXUNIT
What does %c mean in c?
code for replace tabs with equivalent number of blanks