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
Which of the following operators is incorrect and why? ( >=, <=, <>, ==)
Explain the difference between call by value and call by reference in c language?
Should I learn data structures in c or python?
Why do we use namespace feature?
What is the size of structure in c?
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
What is a keyword?
What is #include called?
hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm
How do I create a directory? How do I remove a directory (and its contents)?
How would you rename a function in C?
How does placing some code lines between the comment symbol help in debugging the code?
What is the difference between int main and void main?
Explain what is the difference between #include and #include 'file' ?