Home  >  Article  >  Backend Development  >  What is the default storage type of formal parameters in C language?

What is the default storage type of formal parameters in C language?

尚
Original
2020-03-02 10:17:5411305browse

What is the default storage type of formal parameters in C language?

In C language, the default storage type of formal parameters is auto. If the storage type of the variable is not declared when defining a variable, the default storage type is auto.

Recommended: "c Language Tutorial"

Formal parameters: The full name is "formal parameters", which are parameters used when defining the function name and function body. The purpose is to receive the parameters passed when calling the function.

The function of formal parameters is to realize the connection between the calling function and the called function. Usually, the data processed by the function, factors affecting the function function or the result of function processing are used as formal parameters.

For more programming related content, please pay attention to the Programming Introduction column on the php Chinese website!

The above is the detailed content of What is the default storage type of formal parameters in C language?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn