单选题:若有以下程序段,W和k都是整型变量::w=k:LB:if(w==0)go to LE;W——:printf(”*”)go

  • 题目分类:C语言
  • 题目类型:单选题
  • 号外号外:注册会员即送体验阅读点!
题目内容:
若有以下程序段,W和k都是整型变量:

w=k:
LB:if(w==0)go to LE;
W——:
printf(”*”)
goto LB:
LE;
则不能与上面程序段等价的循环语句是( )。 J A.for(w=k;w!—0;w——)printf(”*”);
B.for(w=k;W;——w)printf(”*”);
C.w=k;
while(w——!=O)printf(”*”);
D.w=k:
W++;do{w——;printf(”*”);)while(w!=O);

参考答案:
答案解析:

回答题:Item 20 in this catalogue is withdrawn until further not

回答题:Item 20 in this catalogue is withdrawn until further notice due to supply

查看答案

The immediate consequence of the new capitalists' practice

The immediate consequence of the new capitalists' practice isA.loss of corpora

查看答案

根据下列材料,回答题Mistakes are the things that:nobody wants,but we s

根据下列材料,回答题Mistakes are the things that:nobody wants,but we still make mistakes

查看答案

What do we learn about Tanya Rostron?

What do we learn about Tanya Rostron?A.She doesn’t work. B.She works as head

查看答案

While both Mobile phones and Laptop sales rose throughout t

While both Mobile phones and Laptop sales rose throughout the period, Mobile ph

查看答案