提交 0ea984db 编写于 作者: L luxin

features.md revised

上级 a5582e56
# 打印C语言的特点
使用字符数组在控制台打印C语言的常见特点。请选出<span style="color:red">正确</span>答案。<br/><br/>
```c
#include <stdio.h>
#define ROW 7
#define COL 50
$code
int main(int argc, char** argv)
{
char feature[ROW][COL] = {
......@@ -27,13 +24,41 @@ int main(int argc, char** argv)
return 0;
}
```
<br/>
<font size="2">
C语言特点:
<div style="text-indent:2em;"><img src="https://img-community.csdnimg.cn/images/4ccf9d0d03ec4cc9bd0dfb64e36ef849.png" alt="C语言特点" width="390"/></div>
</font>
<br/>
## template
```c
#include <stdio.h>
#define ROW 7
#define COL 50
$code
int main(int argc, char** argv)
{
char feature[ROW][COL] = {
"1. 语言简洁,使用方便灵活",
"2. 可移植性好",
"3. 表达能力强",
"4. 表达方式灵活",
"5. 可进行结构化程序设计",
"6. 可以直接操作计算机硬件",
"7. 生成的目标代码质量高"};
printf("********** C语言特点 **********\n");
print(feature);
printf("*******************************\n");
return 0;
}
```
## 答案
```c
void print(char feature[ROW][COL])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册