what is the use of template classes in c++
Answer / ags
Templates are used to avoid the repetition of similar
functions in any class.
| Is This Answer Correct ? | 6 Yes | 0 No |
#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; a.x = 22; int c = a.x; int *b = new int; cout << c; return 0; } option: No output 0 22 -(11) Will not compile
How is data security provided in Object Oriented languages? ?
What is encapsulation selenium?
Why multiple inheritance is not possible?
What is pure oop?
what is the difference between ERROR and EXCEPTION?
What is function overloading and operator overloading?
What is abstraction oop?
what is the sylabus for priliminaries?
Can an interface inherit a class?
what is function over loading?
We have a scale and 7 balls. 1 ball is heavier than all the rest. How to determine the heaviest ball with only 3 possible weighing attempts?