重庆分公司,新征程启航
为企业提供网站建设、域名注册、服务器等服务
整形函数就是整数 比方说4 10
创新互联专业为企业提供乌翠网站建设、乌翠做网站、乌翠网站设计、乌翠网站制作等企业网站建设、网页设计与制作、乌翠企业网站模板建站服务,10年乌翠做网站经验,不只是建网站,更提供有价值的思路和整体网络服务。
非整形函数包括浮点型 非常数型 带小数点的都叫非整形~
通常泛指char、short int、int、long int、long long int这五种类型(包括signed和unsigned)以及_Bool类型。当然也包括编译器作为扩展而实现的某些整型类型。
见C11标准:
[6.2.5-4]There are five standard signed integer types, designated as signed char, short int, int, long int, and long long int. (These and other types may be designated in several additional ways, as described in 6.7.2.) There may also be implementation-defined extended signed integer types. The standard and extended signed integer types are collectively called signed integer types.
[6.2.5-6]For each of the signed integer types, there is a corresponding (but different) unsigned integer type (designated with the keyword unsigned) that uses the same amount of storage (including sign information) and has the same alignment requirements. The type _Bool and the unsigned integer types that correspond to the standard signed integer types are the standard unsigned integer types. The unsigned integer types that correspond to the extended signed integer types are the extended unsigned integer types. The standard and extended unsigned integer types are collectively called unsigned integer types.
int a = 10;这是定义一个变量a
int Sort()
{
return 0;
}
这是返回整型数的函数