Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 is the process of writing the null pointer?

0 Answers  


print the pattern 1 2 4 3 6 9 4 8 12 16 5 10 15 20 25 if n=5

3 Answers   Winit,


int main() { int x = (2,3,4); int y = 9,10,11; printf("%d %d",x,y); } what would be the output?

7 Answers   Parimal, Wipro,


‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .

0 Answers  


WAP to find that given no is small or capital

3 Answers  


Explain the difference between malloc() and calloc() in c?

0 Answers  


What is pointer and structure in c?

0 Answers  


Write a program for print infinite numbers

3 Answers   Wipro,


what is the output of the following program and explain the answer #include<stdio.h> exp() { main(5) } main(int a) { printf("%d",a); return; }

3 Answers   Satyam,


can you change name of main()?how?

3 Answers   HCL, Siemens,


Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.

0 Answers  


How can type-insensitive macros be created?

0 Answers  


Categories