Home > Article > Backend Development > Does the algorithm implemented with a C program have to have input and output operations?
Does the algorithm implemented with a c program have to have input and output operations?
The algorithm implemented in C program can have no input but must have output!
The five characteristics of an algorithm are: finiteness; determinism; feasibility; 0 or more inputs; and one or more outputs. Therefore, the algorithm implemented in C program can have no input but must have output.
Recommended: "c Language Tutorial"
C language is currently the most popular and widely used process-oriented high-level programming language in the world. C language is obviously better than other high-level languages for operating systems and system applications, as well as for occasions where hardware needs to be operated. Many large-scale application software are written in C language.
C language has strong drawing ability, portability, and strong data processing capabilities, so it is suitable for writing system software. Three-dimensional, two-dimensional graphics and animation are its high-level languages for numerical calculations.
The above is the detailed content of Does the algorithm implemented with a C program have to have input and output operations?. For more information, please follow other related articles on the PHP Chinese website!