Can we write a program without main() function?

Answer Posted / infestant mongrel

@Rahul
In java, the job of killing the threads who have done their job (and garbage collection) is done by the java runtime environment. The main thread may even itself come to an end before all its child threads have completed their execution.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is integer constants?

625


What is formal argument?

653


Explain how do you print an address?

660


Explain that why C is procedural?

661


What math functions are available for integers? For floating point?

626






What do header files do?

604


cavium networks written test pattern ..

3597


C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions

613


When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?

589


Should I learn data structures in c or python?

584


write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1

3298


What is adt in c programming?

612


What are pointers?

635


How do you construct an increment statement or decrement statement in C?

746


List out few of the applications that make use of Multilinked Structures?

1307