0

By the way can you tell me what is the function of void return 0 in a c program

What will happen if they are not there in the program

30th May 2019, 5:54 AM
Prakash munjewar
Prakash munjewar - avatar
1 Answer
+ 5
when void is used with a function it means it does not return anything, and when it's used as a parameter it means it does not take any argument, and return 0 is used in main to show that your program was successful
30th May 2019, 8:03 AM
✳AsterisK✳
✳AsterisK✳ - avatar