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

code for quick sort?

1622


What is an expression?

658


What is the use of bitwise operator?

691


What are the advantages of union?

628


What does node * mean?

713






What 'lex' does?

719


write an algorithm to display a square matrix.

2223


Why can’t we compare structures?

814


will u please send me the placement papers to my mail???????????????????

1367


What is the code in while loop that returns the output of given code?

1319


How are portions of a program disabled in demo versions?

751


main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }

913


Explain what is output redirection?

668


What is LINKED LIST? How can you access the last element in a linked list?

633


What is a class c rental property?

615