Let say I want to write predefine a pythagorean theorem in a C library where a = b (square) + c (square). Then I would use the header #include <pythagorean.h>, and then call the function c = pythagorean(a, b)
How would I do this ? Below is a code example.
int a =10;
int b = 20;
c = pythagorean(a, b);