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.

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

How do we declare variables in c?

0 Answers  


C program to read the integer and calculate sum and average using single dimensional array

0 Answers  


At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E &#133;&#133;.. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with these names could be kept in that shelf as in this example: bottom of shelf ---> [AAAJKRDFDEWAAYFYYKK]-----Top of shelf. All these packets are to be loaded on cars. The cars are lined in order, so that the packet could be loaded on them. The cars are also named [A, B, C, D, E,&#133;&#133;&#133;&#133;.]. Each Car will load the packet with the same alphabet. So, for example, car &#145;A&#146; will load all the packets with name &#145;A&#146;. Each particular car will come at the loading point only once. The cars will come at the loading point in alphabetical order. So, car &#145;B&#146; will come and take all the packets with name &#145;B&#146; from the shelf, then car &#145;C&#146; will come. No matter how deep in the shelf any packet &#145;B&#146; is, all of the &#145;B&#146; packets will be displaced before the &#145;C&#146; car arrives. For that purpose, some additional shelves are provided. The packets which are after the packet B, are kept in those shelves. Any one of these shelves contains only packets, having the same name. For example, if any particular shelf is used and if a packet with name X is in it, then only the packets having names X will be kept in it. That shelf will look like [XXXXXXX]. If any shelf is used once, then it could be used again only if it is vacant. Packets from the initial shelf could be unloaded from top only. Write a program that finds the minimum total number of shelves, including the initial one required for this loading process.

0 Answers   Infosys,


Write a program to interchange two variables without using the third variable?

17 Answers   Accenture, College School Exams Tests, Infotech,


What are the primitive data types in c?

0 Answers  


design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.

0 Answers   TCS,


Wt are the Buses in C Language

0 Answers   Infosys,


Write a program to check armstrong number in c?

0 Answers  


What is output of the following program ? main() { i = 1; printf("%d %d %d\n",i,i++,i++); }

9 Answers   CTS, Wipro,


Write the following function in C. stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.

4 Answers   OpenFeel,


What is the use of header?

0 Answers  


Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings

0 Answers  


Categories