关于C语言的Bool类型是如何实现的。。。
程序代码:
#include <stdio.h>
#include <stdbool.h>
int main()
{
bool x = true;
if (x)
{
printf("Yes, it's ture!\n");
x = 10;
if (x == 10)
printf("Yes, x == 10\n");
else
printf("The value of x is %d\n", x);
}
return 0;
}
在上面这个程序中,把10附给x之后x的值依然是1,从技术上如何实现?









