aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • C programming
  • Which library function in C is used to raise any number t...
Multiple choice

Which library function in C is used to raise any number to the power of any other number?

  1. exp(x)

  2. pow(x,y)

  3. sqrt(x)

  4. None of these

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

This function raise x to the power of y in a C language.

Keep practicing — related questions

  • To raise any number to a power, use?
  • What is the output of the given C code? void ret(int a, int b) {double res = pow(a,b);printf(\\\\\\\\n%d,re...
  • Which of the following functions defined in standard library file math.h returns the smallest integer repre...
  • What is the output of the given C code? void ret(int a, int b){double res = pow(a,b);printf("\\n%lf",res);}...
  • The library function sqrt operates on a double precision argument. If i is an integer variable, which one o...
  • What is the output of the given C code? void ret(int a, int b){double res = pow(a,b);printf("%d",res);}int ...
  • What is the output of the given C code? void ret(int a, int b){double res = pow(a,b);printf("%lf",res);}int...
  • What is the output of the given code? int main() { printf("%d\\n",pow(128>>3>>2>>1,3)); }
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Programming Fundamentals (2381 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy