Skip to content

Commit de3b07b

Browse files
committed
Added file for string terminator video
1 parent 0247db6 commit de3b07b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

C_Begineer/08-CBegineer.c

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#include <stdio.h>
2+
#include <stdlib.h>
3+
4+
int main() {
5+
6+
//Computer adds \0 to the end of string to know that
7+
//Its the end of that string
8+
//Its called string terminator
9+
10+
11+
//Array of character of length 14
12+
char name[14] = "Bucky Roberts";
13+
printf("My name is %s \n", name);
14+
15+
return 0;
16+
}

0 commit comments

Comments
 (0)