>>8
No, go fuck yourself. delan@pluto ~ $ cc -xc -Wall -Werror -Wextra -pedantic -pedantic-errors -ansi -
#include <stdio.h>
int main() {
float num = 5.5;
printf((int) num);
return 0;
}
<stdin>: In function 'main':
<stdin>:4:5: error: passing argument 1 of 'printf' makes pointer from integer without a cast
/usr/include/stdio.h:359:12: note: expected 'const char * __restrict__' but argument is of type 'int'
cc1: warnings being treated as errors
<stdin>:4:5: error: format not a string literal and no format arguments
Name:
Anonymous2012-01-09 21:26
>>8'
>tries to make fun of C
>can't even write valid C code
>can't even use standard print functions
Ceil - round towards +inf
Floor - round towards -inf
Round - round towards nearest integer, 0.5 rounds up
Trunc - return integer quotient of real number. discard fractional amount