what is the need for main function in c?

Answer Posted / musharaf ali

every program start from the main function whatever main is defined anywhere in program.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the size of structure in c?

691


Explain how can I pad a string to a known length?

638


Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;

601


What is the purpose of main() function?

648


What are the types of assignment statements?

620






How can I prevent another program from modifying part of a file that I am modifying?

604


Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.

650


Are local variables initialized to zero by default in c?

540


I need previous papers of CSC.......plz help out by posting them.......

1809


What are the advantages and disadvantages of c language?

550


What is a floating point in c?

590


What is function and its example?

617


Why do we use stdio h and conio h?

625


Explain what are the different file extensions involved when programming in c?

626


What is p in text message?

528