ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C
 
 


 

 
 C interview questions  C Interview Questions
 C++ interview questions  C++ Interview Questions
 VC++ interview questions  VC++ Interview Questions
 Delphi interview questions  Delphi Interview Questions
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions
Question
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
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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
# 1
C
ceil(45.90)--> 46
ceil(45.23)--> 46
 
Is This Answer Correct ?    2 Yes 0 No
Phani Kumar S
 
  Re: 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
# 2
ceil(2.3)====3
ceil(-2.3)===-2
 
Is This Answer Correct ?    2 Yes 0 No
Jj
 
 
 
  Re: 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
# 3
answer is b
 
Is This Answer Correct ?    3 Yes 0 No
Subbu
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
Program to trim a given character from a string. NetApp4
WHAT IS THE DIFFERANCE BITWIN GETS();AND SCANF();  2
what is diff b/w huge & far & near pointer?? HCL1
biggest of two no's with out using if condition statement  2
how can i make a program with this kind of output.. Enter a number: 5 0 01 012 0123 01234 012345 01234 0123 012 01 0 Wipro3
write a function to find whether a string is palindrome or not and how many palindrome this string contain?  1
we all know about the function overloading concept used in C++ and we all learnt abt that.... but that concept is already came in C in a very smaller propotion ... my question is IN WHICH CONCEPT THERE IS A USE OF FUNCTION OVERLOADING IS USED in C language????????????? Google2
write a program in 'c' to find the value of p[i+1]^n.p,i,n are arguments of a macro and n is a integer  1
dynamically allocate memory for linear array of n integers,store some elements in it and find some of them  1
Is main() function predfined or userdefined?  7
post new interiew question and aptitude test papers  1
1.what are local and global variables? 2.what is the scope of static variables? 3.what is the difference between static and global variables? 4.what are volatile variables? 5.what is the use of 'auto' keyword? 6.how do we make a global variable accessible across files? Explain the extern keyword? 7.what is a function prototype? 8.what does keyword 'extern' mean in a function declaration?  1
Write a program for the following series? 1 121 12321 1234321 123454321 12345654321 1234567654321 123456787654321 12345678987654321 1234567890987654321 123456789010987654321 12345678901210987654321 1234567890123210987654321 .........1234321............ ..........123454321............ ..........12345654321............ 7 8 9 0 1 Pls............?  2
Program to find the absolute value of given integer using Conditional Operators N-Tech2
what is the difference between const volatile int i & volatile const int j; HCL2
What ios diff. Between %e & %f? Honeywell1
to find the program of matrix multiplication using arrays  2
What are advantages and disadvantages of recursive calling ? HP11
What will be printed as the result of the operation below: #include<..> int x; int modifyvalue() { return(x+=10); } int changevalue(int x) { return(x+=1); } void main() { int x=10; x++; changevalue(x); x++; modifyvalue(); printf("First output:%d\n",x); x++; changevalue(x); printf("Second output:%d\n",x); modifyvalue(); printf("Third output:%d\n",x); }  2
what is the diff b/w static and non static variables in C. Give some examples plz. Wipro2
 
For more C Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com