Because C language also pays special attention to people's thinking and theoretical analysis, for example, when writing some complex algorithms or designing combinatorial mathematics, it is very necessary to have a mathematical foundation.
If we must say that writing in C language is helpful to mathematics, learning C language can exercise our thinking and perhaps consolidate our knowledge of mathematics.