Skip to content

Commit b2a8ec3

Browse files
constant variables in c-lang
1 parent 5acc0d4 commit b2a8ec3

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

3_data_types.exe

-323 KB
Binary file not shown.

4_constant_variables.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#include <stdio.h>
2+
3+
int main() {
4+
5+
const int id = 12038921;
6+
const char characters = 'Z';
7+
8+
printf("%d\n", id);
9+
printf("%c\n", characters);
10+
11+
return 0;
12+
}

0 commit comments

Comments
 (0)