4. What is the difference between void main ( ) and Int Main ()
Answers
Answered by
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
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
0
in void main there is no return type.
where as in int main there should be return type eg: return0;
Similar questions
Social Sciences,
7 months ago
Hindi,
7 months ago
Science,
7 months ago
Political Science,
1 year ago