There are these interesting things called compilers. You can put your code in a file, invoke the compiler on the source files, and run the resulting executable. In that way, you can check what simple code does for yourself.
There are even online versions of these compilers, so if you've internet access that lets you post here, you can probably use an online compiler!