Need help Understanding brackets

I run into a lot of expected curly bracket after input and so on.
Is there a tutorial explaining brackets?
Thanks

Google "C tutorial" and take it from there.