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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

639


What is the use of void pointer and null pointer in c language?

645


How to write a code for reverse of string without using string functions?

1593


Write programs for String Reversal & Palindrome check

609


Write a program which returns the first non repetitive character in the string?

616






What are variables and it what way is it different from constants?

803


How can I implement sets or arrays of bits?

619


How are Structure passing and returning implemented by the complier?

725


Which programming language is best for getting job 2020?

621


Can a variable be both static and volatile in c?

622


Explain how are 16- and 32-bit numbers stored?

795


Explain what is the heap?

635


What is header file definition?

593


What is the best organizational structure?

653


Explain what is the use of a semicolon (;) at the end of every program statement?

752