It is very basic query but clearing the doubt always make your knowledge stronger.
What happens after you write “a.out” and press enter. What are the functionality performed by the OS after executable file is created of your code.