This commit is contained in:
암냥 2026-03-17 10:09:14 +09:00
commit 4e8af7e835
12 changed files with 79 additions and 2 deletions

13
02/02_11p.c Normal file
View file

@ -0,0 +1,13 @@
#include <stdio.h>
int main() {
int abc_mart;
unsigned int 7eleven;
int sk@;
int _score;
int sun rin;
int bestValue;
printf("Temp");
return 0;
}

16
02/02_13p.c Normal file
View file

@ -0,0 +1,16 @@
#include <stdio.h>
int main() {
int num1;
num1 = 10;
int num2 = 20;
int num3, num4;
num3 = 30;
printf("num1 : %d\n", num1);
printf("num2 : %d\n", num2);
printf("num3 : %d\n", num3);
printf("num4 : %d", num4);
return 0;
}

13
02/02_14p_1.c Normal file
View file

@ -0,0 +1,13 @@
#include <stdio.h>
int main() {
int a;
a = 10;
int b;
b = 20;
printf("a : %d\n", a);
printf("b : %d\n", b);
return 0;
}

8
02/02_14p_2.c Normal file
View file

@ -0,0 +1,8 @@
#include <stdio.h>
int main() {
int A;
printf("%d", a);
return 0;
}

6
02/02_14p_3.c Normal file
View file

@ -0,0 +1,6 @@
#include <stdio.h>
int main() {
int a, int b, int c;
return 0;
}

7
02/02_14p_4.c Normal file
View file

@ -0,0 +1,7 @@
#include <stdio.h>
int main() {
int if;
return 0;
}

8
02/02_24.c Normal file
View file

@ -0,0 +1,8 @@
#include <stdio.h>
#define TMP 20
int main() {
printf("TMP: %d\n", TMP);
// TMP = 10;
return 0;
}

11
02/02_25.c Normal file
View file

@ -0,0 +1,11 @@
#include <stdio.h>
int main() {
int const a = 100;
const int b = 200;
printf("a: %d\n", a);
printf("b: %d\n", b);
return 0;
}

11
02/02_33p.c Normal file
View file

@ -0,0 +1,11 @@
#include <stdio.h>
int main() {
printf("char: %zu byte\n", sizeof(char));
printf("int: %zu bytes\n", sizeof(int));
printf("long: %zu bytes\n", sizeof(long));
printf("long long: %zu bytes\n", sizeof(long long));
printf("pointer: %zu bytes\n", sizeof(void*));
return 0;
}

8
02/02_38p.c Normal file
View file

@ -0,0 +1,8 @@
#include <stdio.h>
#include <math.h>
int main() {
printf("%f", sqrt(2));
return 0;
}