y﹦|4x-x²|去绝对值后是y=-x²+4,还是y=x²-4x?
举一反三
- 如下C程序的输出是什么?#include [stdio.h]void Func1 (int x, int y);void Func2 (int *x, int *y); int main() { int x = 3; int y = 4;Func1 (x, y); printf ("x = %d, y = %d\n", x, y);Func2(&x, &y); printf ("x = %d, y = %d\n", x, y);} void Func1 (int x, int y) { x = x + y; y = x - y; x = x - y; printf ("x = %d, y = %d\n", x, y);} void Func2 (int *x, int *y) { *x = *x + *y; *y = *x - *y; *x = *x - *y;;} A: x = 3, y = 4x = 3, y = 4x = 3, y = 4 B: x = 4, y = 3x = 4, y = 3x = 4, y = 3 C: x = 3, y = 4x = 3, y = 4x = 4, y = 3 D: x = 4, y = 3x = 3, y = 4x = 4, y = 3
- 已有定义语句:int x=2,y=4,z=6;if(x>y) z=x;x=y;y=z;执行上述语句后x,y,z的值是____。 A: x=4,y=2,z=2 B: x=4,y=4,z=2 C: x=4,y=6,z=6 D: x=4,y=2,z=6
- 已知int x=3,y=4;,写出下列表达式的值 (1) (x,y) (2) x>y?x:y (3) x?y:x (4) (x>y)?(y>=2)?1:2:(y>x)?x:y
- 已有定义语句:int x=6,y=4,z=5;,执行以下语句后,能正确表示x,y,z值的选项是( )。if(x<;y) z=x;x=y;y=z; A: x=4,y=5,z=6 B: x=6,y=4,z=5 C: x=4,y=5,z=5 D: x=5,y=6,z=4
- (4)()#include()extern()serial_initial()();()main()(){()int()a,b();()unsigned()int()x,y();()serial_initial()();()a=b=0xaa55();x=y=0xaa55;()printf("\n()a=%4x()b=%4x()x=%4x()y=%4x",a,b,x,y)();()a=a<<1();b=b>>1;()x=x<<1();y=y>>1;()printf("\n()a=%4x()b=%4x()x=%4x()y=%4x",a,b,x,y)();()printf("\n")();()printf("\n")();()printf("That()is()all.\n")();()while(1)();()}()______________________________________________________________________________________________________________________________