Hai..actually the program execution starts with main() function.by default it returns a return type of int() type..if we want a specified return type we use int,char,float.....when we use void means if we don't want any return type..on that purpose only we use void return type