Why will prompt expression must include plastic or enumeration types, if I wouldn't be an error forced into int
CodePudding user response:
Generates a binary operator % remainder divided exactly by the second operand first operand (after the general arithmetic conversion; Pay attention to the type of the operands must have the integer type), if a/b can be expressed as a result type, then (a/b) * b + a % b==a, if the second operand is zero, the behavior is undefined, if the business can't expressed in the result type a/b, a/b and a % b behavior has not been defined (this means that the complement system INT_MIN % 1 is not defined).