int

Szabó László laci at apaczai.hu
Sun Mar 28 16:41:59 CEST 2004


Ez miért 0 -t és 1 -et ad vissza..?! Nem 255 -öt és 1 -et kellene? 

unsigned int max_rpm;

max_rpm = 256;
printf("0: %3d; 1: %3d",(*(((unsigned char *)&max_rpm)+0)),(*(((unsigned
char *)&max_rpm)+1)));
    




More information about the Elektro mailing list