Answer Posted / trushali
when we write void main it means its not returning any value
to main function,so we do not need write return 0 at the end
of program.
but when we write main only then by default compiler
consider it as int main,and at the end we need to write
return 0(means successful completion of the program without
any problem).
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are multidimensional arrays?
What is use of pointer?
Can variables be declared anywhere in c?
Is c is a low level language?
What is default value of global variable in c?
Explain how can I right-justify a string?
How will you divide two numbers in a MACRO?
What is pointer in c?
Explain what are the advantages and disadvantages of a heap?
What language is windows 1.0 written?
Tell me when would you use a pointer to a function?
Explain built-in function?
What are runtime error?
What are header files in c?
What is the purpose of clrscr () printf () and getch ()?