Академический Документы
Профессиональный Документы
Культура Документы
1.What is copy constructor and give syntax? What will happen if we remove the ‘&’symbol
and use const key word.
S1=s2;
S2=s1;
13.What are design patterns ?which desig pattern is used in your project?
First round
Second Round
2. Implement a class as
NCR
2nd Round
4.If a project is explained to you how will you find that “At this position I should use static
function?
6.class A
{ virtual fun1();
fun2();
};
class B:public A
};
class C:public B
{virtual fun1();
};
i. int main()
A *p=new B;
p->fun1();
}
ii.int main( )
A *p=new C;
p->fun1();
p->fun2();
3)what is the difference between Procedure oriented and Object Oriented Programming?
10)what is a Destructor?
L&T
7)if a class define static .how its works and where store in memory?
TCS bangalore(technical)
10)xpalin PI board?
13)explain is convolution?
BEL(bharath electronics)
(written exam)
4)reverse a string?
5)factorial program?
technical interview
5)how to create a list like a add a node i)at forst 2)at middle 3)at last ?
C++ tasks :
7)An array is instantiated with the new[] operator. Is it sufficient to delete the array using a
delete operator or should a delete[] operator be used? Justify your answer.
8)Can I drop the [] when deleting an array of some built-in type (char, int, etc)?
11)When I write a derived class's destructor, do I need to explicitly call the destructor for
my base class?
17)What is overriding?
22)How do you trap an exception without knowing what exception might be thrown?
23)Most programming projects involve modifying existing code. What things do you look
for when you're tasked with modifying an existing program?
24)There is a memory leak in a program. What tools and techniques would you use to
isolate, find and fix the memory leak?
27)What is a namespace?