What is a template?

Answer Posted / debika mohapatra

Templates is one of the features added to c++ recently.a
template can be considered as a kind of macro.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is overloading in oop?

577


Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.

2578


can we make game by using c

3433


Why is static class not inherited?

601


Can we create object of abstract class?

581






what type of question are asked in thoughtworks pair programming round ?

1766


How do you define a class in oop?

630


How do you achieve runtime polymorphism?

573


How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction

1656


What does sksksk mean in text slang?

1540


Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

1151


What is inheritance in simple words?

627


What is this pointer in oop?

557


Why do we use oops?

595


Explain the concepts involved in Object Oriented programming.

644