Hello CodeForces. Today, I was solving AtCoder's 700 point problem and faced with an unfamiliar situation. After some analysis, surprisingly, I found that C++ reads the lines from the back.
For example, see this code: https://ideone.com/VHnIIj
I call the function "add1" before "add2" but it seems that the code reads it in reversed order.
I googled it and couldn't find any proper information about that. Can someone share his/her thoughts, please?
Edit; Thank you all for the response. It's clear to me now.