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

Answer Posted / prasanna kumar [cse dept. kln

in c and c++ language,void main()
should be used when the main body of programs executed.
void means-nothing(ie) it should returning the value as zero
or the value which we used in our program and another one is
its returning the value when any function is used in our program

Is This Answer Correct ?    10 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are inbuilt functions in c?

558


what is the role you expect in software industry?

1651


List the difference between a 'copy constructor' and a 'assignment operator' in C?

637


Explain how do you determine a file’s attributes?

590


Explain what is wrong with this program statement?

618






Why is %d used in c?

560


Can you define which header file to include at compile time?

587


Why do we use int main?

604


Explain the difference between the local variable and global variable in c?

599


i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none

641


Why isn't it being handled properly?

644


i got 75% in all semester am i eligible for your company

1733


the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above

719


Explain two-dimensional array.

625


Explain what is wrong with this statement? Myname = ?robin?;

995