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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is void c?

571


4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.

1731


What are pragmas and what are they good for?

580


which is an algorithm for sorting in a growing Lexicographic order

1403


What is the difference between abs() and fabs() functions?

611






Not all reserved words are written in lowercase. TRUE or FALSE?

725


Can we access the array using a pointer in c language?

565


What are inbuilt functions in c?

562


Explain how can a program be made to print the line number where an error occurs?

700


Why is main function so important?

619


Explain the red-black trees?

611


Explain what is the most efficient way to store flag values?

702


What functions are in conio h?

664


Write a code of a general series where the next element is the sum of last k terms.

598


Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

657