This commit is contained in:
Martin Dvořák 2026-05-21 23:16:03 +02:00
commit 3fc465b05e

7
main.c
View file

@ -1,5 +1,7 @@
// Welcome to my journey of learning the fuckass language that is C // Welcome to my journey of learning the fuckass language that is C
#include <stdio.h> #include <stdio.h>
#include <string.h>
int multiply(int num_one, int num_two) { int multiply(int num_one, int num_two) {
int result = num_one*num_two; int result = num_one*num_two;
@ -86,6 +88,11 @@ int main() {
int **double_ptr = &victim_pointer; int **double_ptr = &victim_pointer;
printf("double pointer of the &victim_pointer is: %p", double_ptr); printf("double pointer of the &victim_pointer is: %p", double_ptr);
// STRING
printf("\n\nSTRING BELOW:\n"); // DIVIDER
char message[22]="Hello, world. Again...";
printf("%s", message);
// END // END
return 0; return 0;
} }