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

Write a program to print numbers from 1 to 100 without using loop in c?

633


Explain null pointer.

615


FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.

1196


What is main return c?

513


What does s c mean on snapchat?

579






What is sizeof c?

604


Explain Function Pointer?

681


When should you use a type cast?

585


All technical questions

1505


How do I get an accurate error status return from system on ms-dos?

640


i want to know the procedure of qualcomm for getting a job through offcampus

1929


What are the basic data types associated with c?

811


What is double pointer in c?

581


Which is best book for data structures in c?

592


Why we use int main and void main?

533