Computer Science, asked by mahendravishnoi17, 1 month ago

8.By default the main() function returns

(a) Char value (b) Float value

(c) Integer value (d) Double value​

Answers

Answered by swapnilpatil1me
1

It depends on the program whether you return a value or not.

int is use for returning the value and void refers as empty.

1. void main(void) : It denotes empty, it means no value is returned which is also accepted in our programming language.

2. int main() : It return some value like Zero or Non-Zero.

Similar questions