content
This commit is contained in:
17
assets/logic.c
Normal file
17
assets/logic.c
Normal file
@ -0,0 +1,17 @@
|
||||
#include<stdio.h>
|
||||
#include<string.h>
|
||||
|
||||
void foo(char *input) {
|
||||
int is_logged_in = 0;
|
||||
char buf[50];
|
||||
strcpy(buf, input);
|
||||
if (is_logged_in) {
|
||||
puts("logged in!!1!");
|
||||
} else {
|
||||
puts("not logged in");
|
||||
}
|
||||
}
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
foo(argv[1]);
|
||||
}
|
BIN
assets/stack.png
Normal file
BIN
assets/stack.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
BIN
assets/stack_overflow.png
Normal file
BIN
assets/stack_overflow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
Reference in New Issue
Block a user