[新增] 可变数组 测试用例
This commit is contained in:
12
.editorconfig
Normal file
12
.editorconfig
Normal file
@ -0,0 +1,12 @@
|
||||
# EditorConfig is awesome: https://EditorConfig.org
|
||||
|
||||
# top-most EditorConfig file
|
||||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = false
|
||||
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
|
||||
*.o
|
||||
|
||||
a.out
|
||||
10
01-zero-sized_arrays/main.c
Normal file
10
01-zero-sized_arrays/main.c
Normal file
@ -0,0 +1,10 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
char arrray[0] = "";
|
||||
|
||||
printf("Zere-sized array with Size[%lu].\n", sizeof(arrray));
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user