what is the function of void main()?

Answer Posted / shaheen

The expectation you have from a function is the return type
you can use(returntype) is called void here the example
void FunctionName(); here void is used when no meaning ful
value is return(simply int c=0; it does not return a value)



shaheen(mca)
kaikalur

Is This Answer Correct ?    7 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is malloc memset faster than calloc?

830


Explain enumerated types in c language?

826


Explain what will the preprocessor do for a program?

839


Explain modulus operator.

845


Is fortran faster than c?

817


Differentiate call by value and call by reference?

776


Write a program to implement queue.

904


in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above

879


What does nil mean in c?

943


Why c is a mother language?

774


What are the advantages and disadvantages of a heap?

960


Write program to remove duplicate in an array?

851


How many main () function we can have in a project?

910


What are header files why are they important?

871


Why isn't it being handled properly?

863