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

Disadvantages of C language.

649


GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA

1422


What is call by reference in functions?

553


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

904


What is main () in c language?

590






What happens if you free a pointer twice?

599


Why calloc is better than malloc?

565


Explain goto?

706


What is static memory allocation? Explain

625


What is the difference between array and pointer in c?

569


What is self-referential structure in c programming?

651


What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?

599


write a program to copy the string using switch case?

2393


What is a struct c#?

597


Is c a great language, or what?

596