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

A)It returns the value rounded down to the next lower
integer

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are c identifiers?

630


Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.

2653


How to write a multi-statement macro?

626


What are lookup tables in c?

551


What is a ternary operator in c?

655






Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?

584


write a c program for swapping two strings using pointer

2095


What is difference between class and structure?

571


What was noalias and what ever happened to it?

592


Why do we need volatile in c?

749


Explain how do you generate random numbers in c?

627


How does placing some code lines between the comment symbol help in debugging the code?

549


Explain what is the advantage of a random access file?

667


Why structure is used in c?

597


What are comments and how do you insert it in a C program?

743