Hi. I am studying 'Data and structure'. In this example I understood the structure of " printmovie ( movies_t movie(which can be mind and yours) )"
But I wondered why does 'Void printmovie (movies_t movie) has to show up in advance and again. Bit confused. would you explain why? thank you :]
the program always runs int main() first, always. So when it goes to main, and you call the function printmovie() The compilers gonna be like... UHH BROOO dafuq is this shit, I dont know anything about this. But if you prototype it, it'll see it, and have it in the back of its head. And once the function is called in main its like AHHHH i remember that shit, Imma go look for that function now.