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

How can a number be converted to a string?

611


How can you increase the allowable number of simultaneously open files?

599


How variables are declared in c?

576


Explain how do I determine whether a character is numeric, alphabetic, and so on?

657


Write a program to identify if a given binary tree is balanced or not.

689






Are the variables argc and argv are always local to main?

576


Is main an identifier in c?

607


Why is a semicolon (;) put at the end of every program statement?

631


What is string function in c?

544


How we can insert comments in a c program?

636


Tell me is null always defined as 0(zero)?

677


Explain is it valid to address one element beyond the end of an array?

740


How many types of sorting are there in c?

618


2) Write a program that will help Air Traffic Control for an airport to view the sequence of flights ready for take-off. The airport can accommodate 10 flights waiting for take-off at any point in time. Each flight has a unique 3 digit numeric identifier.  Each time a flight takes-off, Air Traffic Control adds a flight to the waitlist. Each time a flight is added to the waitlist, the list of flights waiting to take-off must be displayed.  When a flight is cleared for take-off, Air Traffic Control removes the flight from the waitlist. Each time a flight takes-off, the list of flights waiting to take-off must be displayed.  Sequence of take-off is the sequence of addition to the waitlist

2521


hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm

1635