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

Answers were Sorted based on User's Feedback



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

Answer / madhusmita mishra

The main function returns a void value .

Is This Answer Correct ?    279 Yes 93 No

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

Answer / sonali panda

The main function does not return any information to the
operating system.

Is This Answer Correct ?    187 Yes 61 No

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

Answer / 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

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

Answer / 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

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

Answer / rohit

void mean no return type. and main does not return any value so we use void main .

Is This Answer Correct ?    73 Yes 23 No

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

Answer / mohit giri

void main() is a main function in c language.void means
nothing return any value.this function is used to execute our
program.without main(), program can compile but not run.

Is This Answer Correct ?    40 Yes 14 No

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

Answer / raj

by default main return int to its environment but when we
declare void main it means it will not return any value

Is This Answer Correct ?    36 Yes 16 No

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

Answer / sanjay pal

void main is necessary for every program.from this line
onward the program body starts.
before main there is a word void this means main return
nothing so parentheses() follwing main are also requrid
main is treated as a function in c and c++.

Is This Answer Correct ?    18 Yes 5 No

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

Answer / bharti

As name imlies main() is a function ,where the exection of
a program srart. when we use simply main() that by dafault
return int value and we use void main(),that return
nothing but when we use int main()that retun value
according to our program

Is This Answer Correct ?    14 Yes 4 No

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

Answer / 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

More C Interview Questions

What are the restrictions of a modulus operator?

0 Answers  


Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon

0 Answers  


I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.

0 Answers   Oracle,


When is a “switch” statement preferable over an “if” statement?

0 Answers  


Can stdout be forced to print somewhere other than the screen?

0 Answers  






a value that does not change during program execution a) variabe b) argument c) parameter d) none

0 Answers  


Explain the use of fflush() function?

0 Answers  


Explain how can I convert a number to a string?

0 Answers  


Why doesn't the code "int a = 1000, b = 1000; long int c = a * b;" work?

7 Answers  


how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions

0 Answers  


What is the difference between c and python?

0 Answers  


Explain how are portions of a program disabled in demo versions?

0 Answers  


Categories