what is the need for main function in c?
Answers were Sorted based on User's Feedback
Answer / inamdar
every program execution is starts from the main()
function.compiler starts execution from main()
function.by default it returns integer value.
Is This Answer Correct ? | 9 Yes | 2 No |
Answer / kartik
The main() function represenrs starting of the program.When
ever we write main in program the system analyse starts from
tthere
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / musharaf ali
every program start from the main function whatever main is defined anywhere in program.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sanjay bhosale
Every c program execution starts from startup procedure which internally calls exit(main({parameters here})).
so to start execution we need main() function in our program.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / shafi shaik
Every Programing Language the program Compilation Starts
with main(). Becase The main() os a Driver function.
Exam any application(valclator , ms-word etc) to clicking
the mouse the application internally execute the
application through the dos prompt
Is This Answer Correct ? | 0 Yes | 2 No |
convert 12345 to 54321 withoutusing strig
how do u find out the number of 1's in the binary representation of a decimal number without converting it into binary(i mean without dividing by 2 and finding out the remainder)? three lines of c code s there it seems...can anyone help
The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this
Explain how can I right-justify a string?
what does ‘segmentation violation’ mean?
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.
1 Answers 91mobiles, Amazon, App Guruz, College School Exams Tests, Folio3, Infosys, Omega, Planin, Riphah International University, Subex,
What are qualifiers in c?
How many types of functions are there in c?
inline function is there in c language?
How many types of arrays are there in c?
I have a function which accepts, and is supposed to initialize,a pointer, but the pointer in the caller remains unchanged.