why we shiuld use main keyword in C
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
Code for calculating square root without using library function, of math.h
How do I create a directory? How do I remove a directory (and its contents)?
Does c have circular shift operators?
What are the main characteristics of c language describe the structure of ac program?
what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above
Does sprintf put null character?
what is printf
what is bitwise operator?
Write a function that accepts a sentence as a parameter, and returns the same with each of its words reversed. The returned sentence should have 1 blank space between each pair of words. Demonstrate the usage of this function from a main program. Example: Parameter: “jack and jill went up a hill” Return Value: “kcaj dna llij tnew pu a llih”
what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555
How do we swap or interchange any 2 numbers without using Temporary variable...Anybody can pls answer it.. Thanks in Advance
How can I sort more data than will fit in memory?