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


Please Help Members By Posting Answers For Below Questions

Why do we need a structure?

575


Can a pointer be null?

551


What is assert and when would I use it?

568


What oops means?

570


Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?

741






Explain how can I open a file so that other programs can update it at the same time?

579


What are global variables and how do you declare them?

608


What are the different data types in C?

716


If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..

1576


Why header files are used?

632


What are variables c?

604


main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }

905


ATM machine and railway reservation class/object diagram

4792


What is a stream?

636


Can we increase size of array in c?

525