C语言:&& ||特殊运算

#include <stdio.h>
main()
{
    int x=4,y=4;
    int t=++x||++y;
    printf("%d %d %d\n",x,y,t);
    int a=1,b=1;
    t=--a&&--b;
    printf("%d %d %d\n",a,b,t);
    getchar();
 }

 

 

posted @ 2022-10-17 20:44  myrj  阅读(50)  评论(0编辑  收藏  举报