why return 0 is used code example
Example: what happens when only return is written instead of return 0
you generally use return 0 when return type is int and return when return type is void.
you generally use return 0 when return type is int and return when return type is void.