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

📄 6.4.0b.htm

📁 建立《编译原理网络课程》的目的不仅使学生掌握构造编译程序的原理和技术
💻 HTM
字号:
<html>

<head>
<title>编译原理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link type="text/css" rel="stylesheet" href="../css/specification.css">
</head>

<body>

<table align=right width=300>
<tr>
<td><img src="../images/previous.gif" onmouseover="javascript:style.cursor='hand'" onclick="vbscript:window.location.href='6.4.0.htm'"></td>
<td><img src="../images/next.gif" onmouseover="javascript:style.cursor='hand'" onclick="vbscript:window.location.href='6.4.0c.htm'"></img></td>
</tr>
</table>
<br><br>

<table><tr><td>&nbsp&nbsp&nbsp&nbsp</td>
<td class="content">

<table><tr>
<br>
<table width="40%" align=center border=1 cellspacing=0 cellpadding=5>
<tr>
<td width="60%" height=30 align=center>说明</td>
<td width="40%" align=center>作用域</td>
</tr>
<tr>
<td align=left>
	<p>int a = 0;</p> 
	<p>int b = 0;</p>
	<p>int b = 1;</p>
	<p>int a = 2;</p>
	<p>int b = 3;</p>	
</td>
<td align=center>
      <br>
      <p><center>B<sub>0</sub>-B<sub>2</sub></center></p>
      <p><center>B<sub>0</sub>-B<sub>1</sub></center></p>
      <p><center>B<sub>1</sub>-B<sub>3</sub></center></p>
      <p><center>B<sub>2</sub></center></p>
      <p><center>B<sub>3</sub></center></p>	
</td>
</table>
<br>
<table width="90%" align=center border=0>
<tr>
<td width="10%"></td>
<td width="90%">
	rain()<br>
	{<br>
	:&nbsp&nbsp&nbsp&nbspint a = 0;<br> 
	:&nbsp&nbsp&nbsp&nbspint b = 0;<br> 
	:&nbsp&nbsp&nbsp&nbsp{<br>
	:&nbsp&nbsp&nbsp&nbsp:&nbsp&nbsp&nbsp&nbspint b = 1;<br> 
	:&nbsp&nbsp&nbsp&nbsp:&nbsp&nbsp&nbsp&nbsp{<br>
	:&nbsp&nbsp&nbsp&nbsp:&nbsp&nbsp&nbsp&nbsp... int a = 2;<br> 
	:&nbsp&nbsp&nbsp&nbsp:&nbsp&nbsp&nbsp&nbspB<sub>2</sub> printf("%d%d\n",a,b); (印出十进制数a,b并换行)<br> 
	:&nbsp&nbsp&nbsp&nbsp:&nbsp&nbsp&nbsp&nbsp...<br>
	:&nbsp&nbsp&nbsp&nbsp:&nbsp&nbsp&nbsp&nbsp}<br>
	B<sub>0</sub>&nbsp&nbsp&nbspB<sub>1</sub>&nbsp&nbsp{<br>
	:&nbsp&nbsp&nbsp&nbsp:&nbsp&nbsp&nbsp&nbsp...<br>
	:&nbsp&nbsp&nbsp&nbsp:&nbsp&nbsp&nbsp&nbspB<sub>3</sub> int b = 3;<br> 
	:&nbsp&nbsp&nbsp&nbsp:&nbsp&nbsp&nbsp&nbsp... printf("%d%d\n",a,b);<br> 
	:&nbsp&nbsp&nbsp&nbsp:&nbsp&nbsp&nbsp&nbsp}<br>
	:&nbsp&nbsp&nbsp&nbsp:&nbsp&nbsp&nbsp&nbspprintf("%d%d\n",a,b);<br>
	:&nbsp&nbsp&nbsp&nbsp}<br>
	:&nbsp&nbsp&nbsp&nbspprintf("%d%d\n",a,b);<br>
	}<br>
</td>
</tr>
</table>
<p><center><b>图6.15</b> &nbsp在一个C程序中的块</center></p><br> 
</tr></table>
<br>
<table align=right width=300>
<tr>
<td><img src="../images/previous.gif" onmouseover="javascript:style.cursor='hand'" onclick="vbscript:window.location.href='6.4.0.htm'"></td>
<td><img src="../images/next.gif" onmouseover="javascript:style.cursor='hand'" onclick="vbscript:window.location.href='6.4.0c.htm'"></img></td>
</tr>
</table>

</BODY>

<html><script language="JavaScript">

⌨️ 快捷键说明

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