What are static type checking?
No Answer is Posted For this Question
Be the First to Post Answer
Consider a c++ template funtion template<class T> T& Add(T a, T b){return a+b ;} if this function is called as T c = Add("SAM", "SUNG"); what will happen? What is the problem in the template declaration/ How to solve the problem.
Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?
What is a node class in c++?
how to find the maximum of 10 numbers ?
class basex { int x; public: void setx(int y) {x=y;} }; class derived : basex {}; What is the access level for the member function "setx" in the class "derived" above? a) private b) local c) global d) public e) protected
What flag means?
Explain what are accessor methods?
3- Write a program to find larger and smaller of the two numbers.
write program for palindrome
81 Answers Amazon, Aricent, CSC, GE, HCL, Infosys, Syntel, Temenos, Wipro,
Explain some examples of operator overloading?
class A { public: void f(); protected: A() {} A(const A&){} }; Examine the class declaration shown above. Why are the default and copy constructors declared as protected? 1. To ensure that A cannot be created via new by a more derived class 2. To ensure that A cannot be copied 3. To ensure that A cannot be used as a base class except when public inheritance has been used 4. To ensure that A cannot be created/copied outside the inheritance chain 5. To ensure that A cannot be instantiated as a static variable
What is RTRT tool?can it be used for automation?can it work on packet PC?