What is meaning of "Void main" in C Language.
Answers were Sorted based on User's Feedback
Answer / sneh pranjal
Main() is the function from which a c program starts its execution.And every function returns some value after its execution.
So it important in most of the C program.If we dont need any return type we declare a function starting with void.
Means void is a return type.void means not returning any thing.
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / glenn oflaria
the void meaning is the skill of faceless void that when you
are inside of it the time will stop for awhile.
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / manoranjan kuiri
Main() is the function from which a c program starts its
execution.And every function returns some value after its
execution.
So it important in most of the C program.If we dont need any
return type we declare a function starting with void.
Means void is a return type.void means not returning any thing.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / nagendra kumar
it is linguistic meaning and above person as excellent write answer
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sangeeta
void means nothing..
and it doesn,t return any value..
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / murthy.y.n
Actually I am not a master in C programming. With my little knowledge and common sense I try to give my view.
The basic dictionary meaning of "void" is nothing or space or empty.For example if two objects are separated by a small distance without any thing between them we, say the space between the two objects is void.
In computer program, we write a function to perform some action.After performing it should give the result (return the value).Some times the act or function may not calculate any thing and may not give any result.
For example ,you want to read some data ,or print hello world etc..
Then you can use the function as void.
Suppose after execution a function gives the sum as an integer we can write int main or float main etc..
so the result given by (return) a function is a float or integer or any such things..
I think I am able to explain in a simple way .If any errors ,please correct me
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rahul tripathi
main is also a function.Operating system will call this function.void means it returns nothing.when the function completed it task, it just goes out of scope.
http://www.cetpainfotech.com/technology/c-language-training
Is This Answer Correct ? | 0 Yes | 0 No |
How do you write a program which produces its own source code as output?
hello everybody can we change a the adress of a variabl i mean can i put for exemple for a int *p: &p=6 ?????????
c program to manipulate x=1!+2!+3!+...+n! using recursion
What will be the output of x++ + ++x?
How to define structures? ·
What is the use of in c?
Why clrscr is used after variable declaration?
What is the relation between # and include<stdio.h>
Is register a keyword in c?
What is the time and space complexities of merge sort and when is it preferred over quick sort?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL
When is a “switch” statement preferable over an “if” statement?