Home  >  Article  >  Backend Development  >  In C language, what is the operator that requires that the number involved in the operation must be an integer?

In C language, what is the operator that requires that the number involved in the operation must be an integer?

藏色散人
藏色散人Original
2020-04-15 11:09:1921427browse

In C language, what is the operator that requires that the number involved in the operation must be an integer?

In C language, what is the operator that requires that the number involved in the operation must be an integer?

In C language, the operator that requires the number participating in the operation must be an integer is %.

% has two interpretations in the C language. One is the remainder symbol, which is often used to determine whether a number is divisible by another. The second is the guide character, which is used to guide the format of the input and output items.

Recommended tutorial: "c Language Tutorial"

In C language, what is the operator that requires that the number involved in the operation must be an integer?

The above is the detailed content of In C language, what is the operator that requires that the number involved in the operation must be an integer?. 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