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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2198


Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014  Npu university

1595


write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3

1642


When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.

1528


What are variables c?

613






How do you define a string?

650


What is the translation phases used in c language?

629


Is c call by value?

602


Why isn't any of this standardized in c? Any real program has to do some of these things.

623


What are valid signatures for the Main function?

699


1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if

3976


what do the 'c' and 'v' in argc and argv stand for?

642


What is 02d in c?

635


A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles

644


When should I declare a function?

622