answersLogoWhite

0

What is the function of square root in C programming?

Updated: 8/20/2019
User Avatar

Wiki User

11y ago

Best Answer

it is sqrt in header math.h

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the function of square root in C programming?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is d command for square root in C programming in Linux?

No commands in C; the name of function sqrt is sqrt (include math.h; and use -lm at linkage)


What is the square root of c to the 2nd power?

square root of c to the second power is c


Calculate the square root of 4 using c plus plus programming?

#include<iostream> int main() { std::cout<<"The square root of 4 is "<<sqrt(4.0)<<std::endl; return(0); }


What is d command for squareroot in C programming?

There are no commands in C-programming, you should use function sqrt from math.h


What is a sizeof function in C programming?

Sizeof is an example.


Is combination a library function in c language of programming?

No.


What is the formula of a quadratic function?

-b + or - the square root on b squared - 4 times a times c over 2


What is the square root of c to 5th power?

This question is unclear.You could be asking for the square root of ( c5 )or alternatively for ( the square root of c )5Also are you intending for c to be as in the speed of light - if not, why not use x?


What is fncn in C programming?

1. identifier 2. short for function


What is the purpose of function in c language?

It's the same as the purpose of a function, procedure, method, ... in other programming languages. The basic idea is that you have a certain calculation or processing that has to be repeated over and over again (perhaps with slight variations), so it is programmed in a single place, where it can be invoked from different parts of the program. For example, if you need to calculate a square root, you program this in a single place (a function); you don't repeat all the complicated calculations everywhere you need to calculate a square root. In this example, since it is a fairly common requirement, it is already programmed in most programming languages; but you can also create your own functions for more customized calculations or processing.


How do you find the square root of a number in C?

You write a function that evaluates the square root of its argument and returns the result to the caller.You can also use the run-time library functions in math.h ...double sqrt (double x);double pow (double x, (double) 0.5);


What is pre-defined function in c?

Predefined functions in C are those that are part of the C library. These are present in any of the various headers that can be included in a program. For example, the function double sqrt(double) present in <math.h> that computes the square root of the argument passed to it.