⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c02_42.htm

📁 经典c语言教程
💻 HTM
字号:
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>练习题二</title>
<script language="javascript">

	function init(){
		out=outdiv.style;
	}
	function show(obj){
		obj.display='';
	}
	function hide(obj){
		obj.display='none';
	}

</script>
</head>

<body bgcolor="#ccefcc" onLoad="init()">

<blockquote>
  <p>在 C 语言中, 下面的语句将打印出什么?<br>
  </p>
  <div align="center"><center><table border="6" width="470" cellspacing="0" cellpadding="6"
  height="150" bordercolor="#FF9933">
    <tr>
      <th width="694" bgcolor="#FF9933">语句</th>
    </tr>
    <tr>
      <td ALIGN="center" width="694" bgcolor="#00FFFF"><p align="left">a). 
      printf(&quot;abcdefghijk&quot;);<br>
      &nbsp;&nbsp;&nbsp; printf(&quot;lmnop/n&quot;);<br>
      b). printf(&quot;I am a /n beginner of C !&quot;);<br>
      c). printf(&quot;I am a \n beginner of C !&quot;);<br>
      d). int num;<br>
      &nbsp;&nbsp;&nbsp; num = 2;<br>
      &nbsp;&nbsp;&nbsp; printf(&quot;%d + %d = %d&quot;,num,num,num+num);</td>
    </tr>
  </table>
  </center></div><p><a href="javascript:show(out)">输出:</a></p>
  <div id="outdiv" style="display:'none'"><p>abcdefghijklmnop<br>
  I am a /n beginner of C !I am a <br>
  &nbsp; beginner of C !2 + 2 = 4 </p>
  </div>
</blockquote>

<p align="center"><a href="javascript:close()">关闭</a></p>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -