当前位置: 首页 > 问题分类 > 计算机类考试 > 软考初级 > 问题详情
问题

设i和k都是int类型,则for循环语句( )。

for(i=0,k=-1;k=1;i++,k++) printf("****\n");

A 循环结束的条件不合法

B 循环体一次也不执行

C 循环体只执行一次

D 是无限循环

参考答案
正确答案:D
您可能感兴趣的试题
  • In 8011 terminology.all communication was to go through the base station, called an(75)

    A.Access Channel

    B.Access System

    C.Access Point

    D.Network Access Point

  • was designed many years ago,with a goal in mind:transmitting the human voice in a more-or-less recognizable form.

    A.DWDM

    B.PSTN

    C.internet

    D.WLAN

  • A.JSP

    B.HTML

    C.ASP

    D.PHP

  • The(72)is a system for linking hypertext documents Originally, each document was a page written in(73)with hyperlinks to other documents.Nowadays,XML is gradually starting to take over from(73).

    A.Web

    B.E-mail

    C.DNS

    D.FTP