Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an identifier?

1089


Where define directive used?

1148


What is a macro in c preprocessor?

1155


What is pointers in c with example?

1140


What is include directive in c?

1213


What is #include stdio h?

1180


What is volatile variable how do you declare it?

1189


What do you understand by friend-functions? How are they used?

1257


In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)

2176


How can I recover the file name given an open stream?

1083


Tell us bitwise shift operators?

1149


How do you write a program which produces its own source code as output?

1176


What does d mean?

1171


Is c++ based on c?

1135


What is the value of c?

1133