What is meaning of "Void main" in C Language.

Answer Posted / piyush mani tiwari

The meaning of void is nothing thats why when the function
cant return any value than at that time we declair it as a void
void main means main does not return any value

Is This Answer Correct ?    133 Yes 34 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?

814


How will you find a duplicate number in a array without negating the nos ?

1656


what are the facialities provided by you after the selection of the student.

1666


Explain what are the advantages and disadvantages of a heap?

607


What are the scope of static variables?

612






What are the advantage of c language?

560


How can you tell whether a program was compiled using c versus c++?

626


What is a stream?

659


Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].

653


Is it better to use malloc() or calloc()?

658


Why does everyone say not to use scanf? What should I use instead?

687


What does %p mean c?

638


What is the purpose of sprintf?

629


Is c call by value?

617


#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }

727