Tip 1: Master OOPs concepts
Tip 2: Strengthen your DSA skills
Tip 3: Build development projects
Tip 1: Add at least one C++ project.
Tip 2: Prior experience with C#.NET will help a lot.
#include
using namespace std;
class Base
{
public:
virtual void display()
{
cout << “Base Display” << endl;
}
};
class Derived : public Base
{
public:
void display() override
{
cout << “Derived Display” << endl;
}
};
int main() {
Base *ptr = new Derived();
ptr->display();
return 0;
}
A) Base Display
B) Derived Display
C) Compilation Error
D) Undefined Behaviour
Answer: B) Derived Display
#include
using namespace std;
class A {
public:
virtual void show() {
cout << “Class A” << endl;
}
};
class B : public A {
public:
void show() {
cout << “Class B” << endl;
}
};
int main() {
A *ptr = new B();
ptr->show();
return 0;
}
A) Class A
B) Class B
C) Compilation Error
D) Undefined Behaviour
Answer: B) Class B
You see a table around you. Tell me the components involved in making this table.



Input: ‘M’ = 3, 'N' = 4, ‘mat’ = [[1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12]], ‘target’ = 8
Output: true
Explanation: The output should be true as '8' exists in the matrix.
Draw the OOP design for a Music Player System on the whiteboard and explain it.
C#.NET Windows Forms Coding Test: There were 10 to 12 questions where I had to modify things like color, time logic, and functionality of a Windows Forms TO-DO List application.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?