• 2021-04-14
    执行下列语句后的结果为().intx=3,y;int*px=&x;y=*px++;
  • x=3,y=3

    内容

    • 0

      若有如下定义语句:int x;则经过( )后,语句*px=0;,可将x值置为0。 A: int *px; B: int *px=&x; C: float *px; D: float *px=&x;

    • 1

      (16)若有定义语句:doublex,y,*px,*py,执行了px=&x,py=&y之后,正确的输入语句是A)scanf(“%f%f”,x,y)B)scanf(“%f%f”,&x,&y)C)scanf(“%lf%le”,px,py)D)scanf(“%lf%lf”,x,y)

    • 2

      已知int x,y,t; 则执行语句:x=y=3;t=++x||++y;后,y的值为_____

    • 3

      intx=1,y=3,z;执行语句z=x>y?++x:y--;后,z的值为多少?为什么?

    • 4

      执行以下语句之后,A的值为?int A=1;int x=3;int y=5A=(y>;x)||(y<;x);