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 |
Write a program to print ASCII code for a given digit.
What is a stream?
What is clrscr ()?
code snippet for creating a pyramids triangle ex 1 2 2 3 3 3
Explain about C function prototype?
write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.
Explain what is operator promotion?
Write a program to print factorial of given number using recursion?
5 Write an Algorithm to find the maximum and minimum items in a set of ‘n’ element.
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor
Write a program that receives as input a number omaadel-n-print, four digits.
What does s c mean on snapchat?