Can anybody explain me of c compilation?

Discussion in 'Software' started by sajeev, Aug 1, 2008.

  1. sajeev

    sajeev

    Joined:
    May 6, 2007
    Messages:
    1
    Likes Received:
    0
    Hi
    Recently I was asked by an interviewer to explain the compilation process.
    He told me to write a small c program to add 3 numbers.He asked me to explain different stages like ,lexical,syntax,sematic,compilation,potimization and code generation.Can anybody help me to give an explation for this qn?

    And one more ,How free() knows how many bytes to deallocate?
    I searched in this forum by couldnt find exact ans.


    Regards
    Sajeev
     
    sajeev, Aug 1, 2008
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.