Computer Science, asked by santosh272124, 10 months ago

What is the main role of void main () in C programming? ?​


santosh272124: well

Answers

Answered by sg249344
1

Answer:

Mark me as the brainliest

Explanation:

The void main() indicates that the main() function will not return any value, but the int main() indicates that the main() can return integer type data. When our program is simple, and it is not going to terminate before reaching the last line of the code, or the code is error free, then we can use the void main().

Similar questions