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 / ramya
b) it returns the value rounded up to the next hiher integer
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain how can I pad a string to a known length?
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.
What is structure in c language?
What are the advantage of c language?
what is stack , heap ,code segment,and data segment
Can two or more operators such as and be combined in a single line of program code?
List the difference between a While & Do While loops?
What is getch () for?
Explain bit masking in c?
Did c have any year 2000 problems?
What is string concatenation in c?
what does static variable mean?
Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?
Explain which function in c can be used to append a string to another string?
Explain how can I remove the trailing spaces from a string?