why

568阅读 3评论2006-12-25 jeffshia
分类:C/C++

#include <stdio.h>

int main(void)
{
    unsigned int c=130;
    char ch;

    ch = c;
    c = ch;

    printf("the value of ch is:%d\n",ch);
    printf("the value of c is:%d\n",c);
    
}

 

the value of ch is:-126

the value of c is:-126

上一篇:Merry Christmas!
下一篇:英语学习