Created: 2022-06-18
Tags: #fleeting
Every string ends with \0
\0 is kinda like a period signifying the end point of a string.
int check(const char *word);
unsigned int hash(const char *word);
int load(const char *dictionary);
char *variable_name gets a string as an argument
And const is optional for getting strings as an argument
-> It just makes it so strings passed will not get changed inside the functions.
char s[10] = "Hello"; // char array makes string writable
// char pointer makes string constant
char *t;