I have three questions here. First, function prototypes such as
Code:
 void strip_newline(char *str, int size) {}
appeared out of nowhere, so this is my question about that: What does the * mean, and how does it know that int size is the size of an array?

Second, in the code used, for that function, the newline and null characters are enclsed in ' ' rather than " ". Why is that?

Third, structures. They seem to just be more to type. Struct.x = 1 instead of just x = 1. Why not just declare the variables inside main()?

Thanks!
CG-20