"hello newcomer i know you don't know what a variable is yet but you're going to have to learn gdb to figure out why your program doesn't work because the only thing C tells you is "whoops segfault""
if anyone tells you to learn C to start off tell them to go away and shut themselves back into the dark room from whence they came