What does void main(void) mean?
Answers
Answered by
19
void main means return the type of main function is void which means it will return nothing.
void means emptyness.void main means that the functions main() does not return any value.
void means emptyness.void main means that the functions main() does not return any value.
Answered by
16
void main ( ) is the first execution part of a program in a programming language that have bottom -top approach.
here, void mean empty.
void function doesn't return any value.
by default, it return int value.
you can also define return statement.
for that you have to use int main( ) or float main( ) ., etc function .
Similar questions