C compiler with embedded metalanguage.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

48 行
396 B

int
zero()
{
return 0;
}
int
one()
{
return 1;
}
int
main()
{
int x;
int y;
x = zero();
y = ++x;
if (x != 1)
return 1;
if (y != 1)
return 1;
x = one();
y = --x;
if (x != 0)
return 1;
if (y != 0)
return 1;
x = zero();
y = x++;
if (x != 1)
return 1;
if (y != 0)
return 1;
x = one();
y = x--;
if (x != 0)
return 1;
if (y != 1)
return 1;
return 0;
}