Return 0 written in the last part of the code

Sir/Ma’am
What does the statement return 0 work for ?

the int main u write is also a function whose data type is int so u have to return a interger
that why return 0