Hello world step by step guide

OK. Before i ask this question please dont give me answers like: you can find this in doc.

Can someone please explain me (step by step) the execution of the hello world program ?

Let’s say i didn’t see the hello world program and that i want to make it on my own. What should i do ?

Thank you in advance !