Yes, but you need to know code too, to determine a output you can just look at code and see what it does.
Your code above don't make sense, "main" function don't accept variables in declaration, instead do other function and call it in "main" function.