All pastes #915744 Raw Edit

Unnamed

public c v1 · immutable
#915744 ·published 2008-02-24 00:37 UTC
rendered paste body
#include <stdio.h>int main (void){        float a = 3.14;        float b = 3.14158853;        printf ("a : 0x%08x\t%d\nb : 0x%08x\t%d\n", a, sizeof(a),  b, sizeof (b));        return 0;}------------------------------------------------------------------------------------cmd@n0ne:~$ vi helpermaster.c; gcc -Wall helpermaster.c -o helpermaster && ./helpermasterhelpermaster.c: In function 'main':helpermaster.c:8: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'double'helpermaster.c:8: warning: format '%08x' expects type 'unsigned int', but argument 4 has type 'double'a : 0x60000000  1074339512b : 0x00000004  536870912