I'm trying to make a simple program where parts of other strings are appended to another string. When I run this code, it doesn't output anything. Sorry, my C knowledge is very low. All help appreciated.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main() {
char stuff[100] = "Y";
char test[] = "hello", test2[] = "shelllo";
strcat(stuff, test[1]);
strcat(stuff, test2[0]);
printf("%s\n", stuff);
return 0;
}