Check out example codes for ".\main.c:4:8: error: expected declaration specifiers or '...' before '\x6f726c64'". It will help you in understanding the concepts better.

Code Example 1

//You can not use a function calls outside a function.

Learn ReactJs, React Native from akashmittal.com