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

Explain how can you avoid including a header more than once?

591


Is there any possibility to create customized header file with c programming language?

617


How can I open a file so that other programs can update it at the same time?

655


What is a memory leak? How to avoid it?

565


What is the difference between procedural and functional programming?

512






Write a program to use switch statement.

654


How can you convert integers to binary or hexadecimal?

610


#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??

1539


A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile

634


how can use subset in c program and give more example

1492


How do you determine a file’s attributes?

595


Explain how can you restore a redirected standard stream?

585


write a c program to print the next of a particular no without using the arithmetic operator or looping statements?

3177


What does do in c?

601


What is hashing in c?

638