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.