CoolInterview.com - World's Largest Collection of Interview Questions
 Interview Questions  
 Our Services  

Get 9,000 Interview Questions & Answers in an eBook.


  • 9500+ Pages
  • 9000 Question & Answers
  • All Tech. Categories
  • 14 MB Content

    Get it now !!


    Send your Resume to 6000 Companies


  • INTERVIEW QUESTIONS LANGUAGES C DETAILS
    Question :
    Why should I prototype a function?
    Category C Interview Questions
    Rating (4.1) By 21 users
    Added on 10/22/2004
    Views 9710
    Rate it!
    Answers:

    A function prototype tells the compiler what kind of arguments a function is looking to receive and what
    kind of return value a function is going to give back. This approach helps the compiler ensure that calls to a function are made correctly and that no erroneous type conversions are taking place.



    Prototype of the function tell compiler that we will use this function in our program and it will run even if we do not write code of function



     Posted by: MUHAMMAD AAMIR SAYEED    

    Contact MUHAMMAD AAMIR SAYEED  Contact MUHAMMAD AAMIR SAYEED


    If you have the better answer, then send it to us. We will display your answer after the approval.
    Name :*
    Email Id :*
    Answer :*
    Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification  Enter the above shown code:*
    Inform me about updated answers to this question

       
    Related Questions
    View Answer
    What is a static function?
    View Answer
    Is it possible to execute code even after the program exits the main() function?
    View Answer
    Is using exit() the same as using return?
    View Answer
    Can the sizeof operator be used to tell the size of an array passed to a function?
    View Answer
    Is it better to use a pointer to navigate an array of values,or is it better to use a subscripted array name?
    View Answer
    What is the difference between a string and an array?
    View Answer
    what is a modulus operator? What are the restrictions of a modulus operator?
    View Answer
    why n++ executes faster than n+1?
    View Answer
    Write the equivalent expression for x%8?
    View Answer
    Which expression always return true? Which always return false?
    View Answer

    Please Note: We keep on updating better answers to this site. Subscribe to our newsletter to get notified when better answer is posted.

    Notify me when better answer is posted!
    Email:

    View ALL C Interview Questions

    User Options
    Sponsored Links


    Copyright ©2003-2009 CoolInterview.com, All Rights Reserved.
    Privacy Policy | Terms and Conditions
    Page URL: http://www.coolinterview.com/interview/990/default.asp?cachecommand=bypass


    Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Dedicated Servers | Joke of the Day

    0.39