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
Answer Posted / guest is wrong
B)it returns the value rounded up to the next higher integer
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
Why c is called object oriented language?
Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?
Explain how can I write functions that take a variable number of arguments?
What is the use of pragma in embedded c?
What do you mean by invalid pointer arithmetic?
What is c system32 taskhostw exe?
Do you have any idea about the use of "auto" keyword?
What are run-time errors?
What is a newline escape sequence?
Explain can static variables be declared in a header file?
What is a program flowchart?
What is c value paradox explain?
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers