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
Differentiate between #include<...> and #include '...'
Define macros.
What are the types of pointers?
i have a written test for microland please give me test pattern
Is main a keyword in c?
count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array
what is the role you expect in software industry?
What is self-referential structure in c programming?
Why is it important to memset a variable, immediately after allocating memory to it ?
what is different between auto and local static? why should we use local static?
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
Can we declare function inside main?
How can I read a binary data file properly?
What does c mean?
write a program to rearrange the array such way that all even elements should come first and next come odd