请在 下方输入 要搜索的题目:

After executing the following program segments, the values of variables x, y and z respectively are (). int a=1,b=0, x, y, z; x=(--a==b++)?--a:++b; y=a++; z=b;‍


A、x=0,y=0,z=0;
B、x=-1,y=-1,z=1;
C、x=0,y=1,z=0;
D、x=-1,y=2,z=1

发布时间:2025-11-21 17:32:20
推荐参考答案 ( 由 题搜搜 官方老师解答 )
答案:x= -1,y= -1,z= 1
登录 - 搜搜题库网
立即注册
注册 - 搜搜题库网
立即登录