why the execution starts from main function

Answer Posted / rambo

in general _startup is handler for reset vector(0xffff in
freescale) _startup function calls main function.
if u replace main() with ur own function then the system
call ur function.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

1908


What is auto keyword in c?

957


Compare interpreters and compilers.

809


Explain how do you use a pointer to a function?

840


What is use of bit field?

989


What are the back slash character constants or escape sequence charactersavailable in c?

917


How do we print only part of a string in c?

801


What is a structure member in c?

746


What is #include stdlib h?

847


What tq means in chat?

830


What is a program flowchart and how does it help in writing a program?

882


When is a void pointer used?

880


Is printf a keyword?

955


Explain how can you be sure that a program follows the ansi c standard?

1112


What kind of structure is a house?

755