Current location - Training Enrollment Network - Mathematics courses - Are C language functions the same as mathematical functions?
Are C language functions the same as mathematical functions?
Essentially the same.

the difference is

Mathematical function is the correspondence from counting to counting, and C function is the correspondence from data (including numbers, characters, pointers, etc.). ) to data, and the c function can also perform some operations, but that function is called process.

Mathematical function can be continuous or discrete, and the domain can be infinite or finite, but the domain must be discrete and finite when C function is realized.