What's this syntax called? Is it standard C? Is it standard C++?

前端 未结 0 1354
-上瘾入骨i
-上瘾入骨i 2021-01-22 00:06
int x = ({
    int y = 10;
    if (2>1) {
        int z = 11;
    }
    y+z;
});

x will be 21. What is this syntax? I\'ve seen it in C a

相关标签:
回答
  • 消灭零回复
提交回复
热议问题