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 / jj
ceil(2.3)====3
ceil(-2.3)===-2
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
Explain what is the difference between text files and binary files?
What are the different data types in C?
Why can’t constant values be used to define an array’s initial size?
struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer
Explain modulus operator.
What is the difference between printf and scanf in c?
what do you mean by enumeration constant?
What are the disadvantages of c language?
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
Is c is a high level language?
explain how do you use macro?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
Differentiate fundamental data types and derived data types in C.
Is it acceptable to declare/define a variable in a c header?
Write a program to print fibonacci series without using recursion?