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

Answer Posted / vikas kumar

Void is a return type of the main function void means not
returning any thing.....and
Main() is the function from which a c program starts its
execution

Means void is a return type...
if we want int,char,float..return type then void main we
even can write
int main()
char main()
float main()
If we dont need any return type we declare a function
starting with void.
And every function returns some value after its execution.

Is This Answer Correct ?    111 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is main return c?

516


what is a constant pointer in C

675


What is the difference between test design and test case design?

1565


How important is structure in life?

587


How #define works?

613






What is line in c preprocessor?

611


What are header files in c?

615


Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon

1733


Differentiate between functions getch() and getche().

619


What is #include called?

565


what is the structure pointer?

1642


process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,

1888


Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;

610


What is the difference between the expression “++a” and “a++”?

649


Explain how does free() know explain how much memory to release?

571