Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interview
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lubin
interview
Commits
230dc97a
Commit
230dc97a
authored
Aug 18, 2022
by
lubin
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update C.txt
parent
0d73ba98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
1 deletion
+36
-1
C.txt
语言/C.txt
+36
-1
No files found.
语言/C.txt
View file @
230dc97a
试卷 一
01: 描述⼀下gcc的编译过程
02: volatile
...
...
@@ -8,10 +9,43 @@
int a;
char b;
};
04: 指针
(1) 指针的类型是char char*ptr;
(2) 判断null
05: ROM RAM SDRAM
06: inlne
06: inline 作用和效果
试卷 二
01 #include <stdio.h> 和 include "" 的区别
02 格式化输出语句 %d %s %f %x的区别
03 #define 使用 #deinne
04 const 使用
const int a 表示a为常量,不能对a的值进行修改;
int const a 和const int a作用相同,不能对a的值进行修改;
const int *a 表示指针a所指地址的值是常量,但它指向的地址可以改变;
int * const a 表示指针a的地址为常量,只能改变a指向地址的值,不能改变其指向的地址;
05 逻辑运算符 && ||
06 sizeof 编译时候判断还是运行是时候判断
试卷 三
01 函数指针与指针函数
02 static关键词
static关键词用来控制作用域,所有全局变量在定义的时候都要考虑是否需要加static
03 局部变量与全局变量
04 局部变量加上static 修饰
05 全局变量什么时候初始化
06 main(int argc, char *argv[ ])
argc argv 作用
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment