why to use template classes in c++?
Answer / swati
the template classes are use for the reuse of the data
types which you want to use the program for many times
| Is This Answer Correct ? | 1 Yes | 0 No |
Write pseudo code for push in a stack?
What is a unary operator?
What is the problem with multiple inheritance?
Is abstract thinking intelligence?
In OverLoading concept,Why they are not consider return value and why they are consider only parameters in method? For ex: public int Add(int a,int b){...} public String Add(int a,int b){...}
#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
What is the advantage of oop over procedural language?
Name a typical usage of polymorphism
What is the default size allocated for array in the statement if size not specified " int a[] "
what is the need of abstraction? what is abstraction?what is the abstraction for stack?
What is a scope resolution operator?
What will happen when the following code is run: int x; while(x<100) { cout<<x; x++; } 1) The computer will output "0123...99" 2) The computer will output "0123...100" 3) The output is undefined