why we shiuld use main keyword in C

Answers were Sorted based on User's Feedback



why we shiuld use main keyword in C..

Answer / siddiqui mohd. faisal

main is a keyword which tells the compiler that actual
program starts from here.

Is This Answer Correct ?    16 Yes 8 No

why we shiuld use main keyword in C..

Answer / nirmal kumar tailor

main() is the important part of the programe.

main() defines scope of the programe and all working in
this scop means execute the programe in between this block

all programe execution with the main() function.

Is This Answer Correct ?    8 Yes 1 No

why we shiuld use main keyword in C..

Answer / shireesha

It invokes the other functions defined in the program.
It provides the starting address for the funtion.

Is This Answer Correct ?    8 Yes 3 No

why we shiuld use main keyword in C..

Answer / 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

why we shiuld use main keyword in C..

Answer / raj

main() is the enty point of all the application ,and is the
special function because it is invoked by the OS
routines,through this function we can call any function.So
every application must contain main() function.

Is This Answer Correct ?    4 Yes 3 No

Post New Answer

More C Interview Questions

What are the types of pointers in c?

0 Answers  


how to use virual function in real time example

1 Answers   CTS, Wipro,


what is the difference between const char *p, char const *p, const char* const p

5 Answers   Accenture, Aricent, CTS, Geometric Software, Point Cross, Verizon,


in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none

0 Answers  


What is pointer & why it is used?

0 Answers  






Do you know what is a programing language ?

0 Answers  


How to write a code for reverse of string without using string functions?

0 Answers   TCS,


what are the files which are automatically opened when a c file is executed?

3 Answers  


What is the description for syntax errors?

0 Answers  


int *a[5] refers to

12 Answers   TCS,


What is the size of empty structure in c?

0 Answers  


Is main a keyword in c?

0 Answers  


Categories