point.c
来自「一个很不错的程序切片工具,希望大家来讨论以下,对测试人员很有帮助」· C语言 代码 · 共 27 行
C
27 行
main(){ int input1,input2,input3,cond1,cond2; int a,b,c; int *x,*y,*z; int output1,output2,output3; scanf("%d",&input1); a = input1; scanf("%d",&input2); b = input2; scanf("%d",&input3); c = input3; scanf("%d",&cond1); scanf("%d",&cond2); x = &a; if (cond1) x = &b; y = &c; z = &b; output2 = *z + 1; *z = *y + *x; output1 = *z; output3 = *x; printf ("%d %d %d\n", output1,output2,output3);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?