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
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
What is the purpose of ftell?
Which is better between malloc and calloc?
What is the size of enum in c?
What is linear search?
How can you determine the size of an allocated portion of memory?
Write a program to reverse a linked list in c.
What is meant by initialization and how we initialize a variable?
What is the best way to comment out a section of code that contains comments?
Is c programming hard?
How can I make sure that my program is the only one accessing a file?
Differentiate call by value and call by reference?
What is the difference between text files and binary files?
can any one provide me the notes of data structure for ignou cs-62 paper
What is the general form of #line preprocessor?