CMC C++ Interview Questions

CMC C++ Interview Questions

Round 1: (Telephonic)

1) What is static funtion in C++? How its different from other fuctions?
2) What is operator overloading and operator overriding in C++?
3) What is virtual destructor? Why we don’t have virtual contructor?

Round 2:(F2F)

1) what is the difference between new operator and malloc operator in C++?
2) What is operator overloading and operator overriding in C++?
3) explain about the copy constructor?
4) what is the problem?
int &j;
int &j=k;
5) virtual destructor?
6) what is static and dymanic polymorphism?
7) int i = 0XFFFFFFFF; what is this?
8 ) What are the storage classes?
9) write a PERL program to display the array with 3 elements and display all those?
10) write a SHELL program to change the filename to upper letters.
11) what is interpracess communication in unix?
12) what is multithreading and how it will be implemented?

and more details on projects that I have done;

Round 3:(F2F)
1)By using below two classes (without extra method other than below) implement push and pop methods of

class linkList
{
public:
int insert(element e, int position);
element delete(int position);
}

class stack
{
private:
linkList l;
public:
int push(element e);
element pop();
}

0 comments:

Post a Comment