• 2021-04-14
    与语句"while(!x)"等价的语句是__________。(2.0分
  • while(x==0)

    内容

    • 0

      若有语句:int x,*p=&x;则与该语句等价的语句是()

    • 1

      语句while(!e) ; 与语句( )等价。 A: while(e!=1) B: while(e==1) C: while(e!=0) D: while(e==0)

    • 2

      与语句while(!s)中的条件等价的是()

    • 3

      语句while(!x);中的条件!x等价于________ A: x==0 B: x!=1 C: x!=0 D: ~x

    • 4

      在很多情况下,for语句和while语句可以等价使用