Computer Science, asked by Anjalibansal4297, 1 year ago

4. What is the difference between void main ( ) and Int Main ()

Answers

Answered by Anonymous
1
hey mate here is ur ans

void main()
is when no return type of the data is specified
it is the actual main method

int main()

it means it is a return type with argument
where int is the return type of the data
it is used as a member method
Answered by akshayabodiga123
0

in void main there is no return type.

where as in int main there should be return type eg: return0;

Similar questions