what is a template?




Answers were Sorted based on User's Feedback



what is a template?..

Answer / shiva

Template is for creating generic functions as well as data
members

Is This Answer Correct ?    5 Yes 0 No

what is a template?..

Answer / ramya

templates are used for creating a family of function by
function templates,creating a family of class using class
templates

Is This Answer Correct ?    1 Yes 2 No

Post New Answer




More STL Interview Questions

give me the defination of inheritance?

5 Answers   Infosys,


In what scenario does the Logical file and Physical file being used?

0 Answers   informatics,


Q1. A. What is unary operator? List out the different operators involved in the unary operator. B. What is an adjust field format flag? Q2. A. Distinguish between a # include and #define. B. Can a list of string be stored within a two dimensional array? Q3. A.Explain how a pointer to function can be declared in C++? B.List the merits and demerits of declaring a nested class in C++? Q4. A. What are the syntactic rules to be avoid ambiguity in multiple inheritence? B. Explain the operation of overloading of an assignment operator. Q5. A. Explain how the virtual base class is different from the conventional base classes of the opps. B. Explain how an exception handler is defined and invoked in a Program. Q6. A. What is a binary file? List the merits and demerits of the binary file usagein C++. B. Write short notes on Text Manipulation Routines. C. Write bites in Turbo c++ Header (“Include”) Files.

0 Answers   Infosys, GE, Microsoft, NIM,


WHAT IS FIBONACCI SERIES?

4 Answers   Stewart,


sir please send me bpcl previous question papers

0 Answers   BPCL Bharat Petroleum,






#define CUBE(x) (x*x*x) main() { int a,b=3; a=cube(b++); printf("%d %d",a,b); } What should be the value of a and b? My calc a=4 but syst a=6 how pls tell me if you know it?

11 Answers   Wipro,


method overloading means what?

2 Answers   CTS,


tell about sorted linked list

1 Answers  


why & sign is used in copy constructor

4 Answers  


if 4-5 year old brother is standing on d roof with me and watching d moon, suddenly moon coverd by cloud then how will i explain d hiding of moon to my brother.

8 Answers   MBT,


What is the disadvantage of templates ?

2 Answers   NSN, Symphony,


Write a program to print the swapping in two no and using three variable.

3 Answers   Broadridge,






Categories