资 源 简 介
一些C编程语言经典编程题目,希望对大家有用。#include
int main(void)
{
unsigned int i = 0x12345678;
char*pc =(char*)&i;
printf("0x%x
", *pc);
double *pd = (double*)&i;
printf("%f
", *pd);
printf("sizeof pc = %d sizeof pd = %d
", sizeof(pc), sizeof(pd));
return 0;
}