11 lines
104 B
C
11 lines
104 B
C
|
#include <stdio.h>
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* 返回该数的负值
|
||
|
*/
|
||
|
int negate1 ( int num )
|
||
|
{
|
||
|
return 0 - num;
|
||
|
}
|