8.By default the main() function returns
(a) Char value (b) Float value
(c) Integer value (d) Double value
Answers
Answered by
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
Math,
17 days ago
Math,
17 days ago
Math,
17 days ago
English,
1 month ago
India Languages,
8 months ago