What are templates? where we should use it?
Answers were Sorted based on User's Feedback
Answer / prabhatkr09
Template allow us to write one function and class that works for different datatype .
Use :
Create a type safe collection class that can operate on data of any type.
add extra type checking for function.
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / satheeshkumar
Template allow us to write one function and class that
works for different datatype .
Use :
Create a type safe collection class that can operate on
data of any type.
add extra type checking for function.
| Is This Answer Correct ? | 1 Yes | 0 No |
what is VOID?
Explain the different access specifiers for the class member in c++.
Explain data encapsulation?
what is multi-threading in C++?
Can a class be static in c++?
Is c++ proprietary?
what are the iterator and generic algorithms.
List out function which we can call without using object
Write is a binary search tree? Write an algo and tell complexity?
Differentiate between the message and method in c++?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
Will rust take over c++?