杨必宇frippy的回答remainder()函数还有以下三种很少被使用的参数类型: double remainder( double x, double y )。 float remainderf( float x, float y )。 long double remainderl (long double x,long double y)。 返回的都是 x/y 的余数 , r = x – ny , n 是接近 x/y 实际值的整数。 扩展资料: 常用的函数库实现程序,例如 I/O输入输出和字串符控制。不像 COBOL、Forrian和 PL/I等编程语言,在 C 语言的工作任务里不会包含嵌入的关键字,所以几乎所有的 C 语言程序都是由标准函数库的函数来创建的。 Macro used for internal error detection. (Ignored if NDEBUG is defined where <assert.h> is included.) If expression equals zero。 message printed on stderr and abort called to terminate execution. Source filename and line number in message are from preprocessor macros __FILE__ and __LINE__. 参考资料来源:百度百科-c语言标准函数库 abcd4321too的回答这是一种函数语言:功能 返回一个整数除以另一个整数之后产生的余数。 语法 REMAINDER ( int a, int b ); 要学编程,一定要把自己没把握的函数多试验试验才行!!! remainder()函数还有以下三种很少被使用的参数类型: double remainder( double x, double y ); float remainderf( float x, float y ); long double remainderl (long double x,long double y); 返回的都是 x/y 的余数 , r = x – ny , n 是接近 x/y 实际值的整数; 如果实际的商在两个整数之间,就向偶数舍入,这样定义的余数可以是正也可以是负 |