aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Information Technology Mixed Test - 12
  • Which of the following functions defined in standard libr...
Multiple choice

Which of the following functions defined in standard library file math.h returns the smallest integer represented as a double not less than num?

  1. atan2()

  2. fmod()

  3. ceil()

  4. pow()

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

This option is correct as ceil() function returns the smallest integer represented as a double not less than num. Example: ceil(1.30) gives 2.0, ceil(-1.03) gives -1.0

Keep practicing — related questions

  • Which of the following methods defined in Math class is used to return the smallest whole number greater th...
  • Which of the following functions is used to return floating point remainder of a given expression x/y?
  • Which library function in C is used to raise any number to the power of any other number?
  • The library function sqrt operates on a double precision argument. If i is an integer variable, which one o...
  • What will be the output of the following function? # include <stdio.h> void main() { int k,num=30; k = (num...
  • Which of the following functions is used to find the absolute value of any number given as an argument?
  • Output????? #include #define f(a,b) a##b #define g(a) #a #define h(a) g(a) int main() { printf("%s",h(f(1,2...
  • main() { float me = 1.1; double you = 1.1; if(me==you) printf("I Don't Know C"); else printf("I Know C"); }
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy