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
Why do we need a structure?
Can a pointer be null?
What is assert and when would I use it?
What oops means?
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
Explain how can I open a file so that other programs can update it at the same time?
What are global variables and how do you declare them?
What are the different data types in C?
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..
Why header files are used?
What are variables c?
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); }
ATM machine and railway reservation class/object diagram
What is a stream?
Can we increase size of array in c?