Explore BrainMass
Share

Explore BrainMass

    Why a C Program Without main() Will Compile, but Not Link

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    A C program without a main() function will compile, but it will not link. Provide an explanation to your classmates about why this occurs.

    © BrainMass Inc. brainmass.com October 9, 2019, 6:52 pm ad1c9bdddf
    https://brainmass.com/computer-science/files/why-a-c-program-without-main-will-compile-but-not-link-100331

    Solution Preview

    Every C program needs a main() function. Any other functions needed by a program, other than main(), must ...

    Solution Summary

    Explains why a C program without a main() function will compile, but it will not link.

    $2.19