why we shiuld use main keyword in C

Answer Posted / gg

Every C program should have at least one function.main() is
special function, from here the actual execution of the
program starts. main() is one which calls all other
functions and helps to do their job.The functions may from
library or user defined.

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are header files in c?

614


A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

647


What is hungarian notation? Is it worthwhile?

689


i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....

1518


how many errors in c explain deply

1625






What is scope and lifetime of a variable in c?

570


Is it valid to address one element beyond the end of an array?

668


How can a number be converted to a string?

593


What is s or c?

589


what does static variable mean?

647


Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.

711


Explain data types & how many data types supported by c?

578


What is function pointer c?

582


What are the different types of control structures in programming?

655


What is size of union in c?

578