CoolInterview.com - World's Largest Collection of Interview Questions
Start Your Own website Now
Sponsored Links

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 DETAILS
    Question :
    What is a template?


    Category Languages Interview Questions
    Rating (0.3) By 12 users
    Added on 7/21/2011
    Views 175
    Rate it!
    Answers:

    Templates allow creating generic functions that admit any data type as parameters and return value without having to overload the function with all the possible data types. Until certain point they fulfill the functionality of a macro



    If you have the better answer, then send it to us. We will display your answer after the approval.
    Rules to Post Answers in CoolInterview.com:-

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
  • 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 do you mean by pure virtual functions?

    View Answer
    What do you mean by pure virtual functions?

    View Answer
    Differentiate between a template class and class template.

    View Answer
    What is inline function??

    View Answer
    What is the difference between const char *myPointer and char *const myPointer?

    View Answer
    What is the difference between a pointer and a reference?

    View Answer
    What are the differences between a C++ struct and C++ class?

    View Answer
    What is virtual class and friend class?

    View Answer
    What is RTTI?

    View Answer
    What is pure virtual function?

    View Answer
    What is friend function?

    View Answer
    What is default constructor?
    View Answer
    What is constructor or ctor?
    View Answer
    What is a class?

    View Answer
    Define namespace.

    View Answer
    What is function overloading and operator overloading?

    View Answer
    What is multiple inheritance(virtual inheritance)? What are its advantages and disadvantages?

    View Answer
    What do you mean by inheritance?

    View Answer
    What is polymorphism? Explain with an example?

    View Answer
    What is encapsulation?
    View Answer


    Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

    View ALL Languages Interview Questions

    User Options
    Sponsored Links


    Copyright ©2003-2014 CoolInterview.com, All Rights Reserved.
    Privacy Policy | Terms and Conditions

    Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Dedicated Servers | C Interview Questions & Answers

    Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes


    Cache = 0 Seconds