Filter interviews by
I applied via Campus Placement and was interviewed in Sep 2023. There were 2 interview rounds.
First Round was Mixture of C and Basic aptitude question
A virtual destructor is a destructor declared as virtual in a base class to ensure proper destruction of derived class objects.
Virtual destructors are used in polymorphic base classes to ensure that the destructor of the derived class is called when deleting a base class pointer.
They allow proper cleanup of resources allocated in the derived class.
Example: class Base { virtual ~Base() {} }; class Derived : public Base ...
Program to find number of bits in a number
Use bitwise operations to count the number of bits in a number
Iterate through each bit and count the set bits
Use log base 2 to find the number of bits in a number
A copy constructor is a special type of constructor in C++ that creates a new object as a copy of an existing object.
Copy constructor is used to initialize a new object as a copy of an existing object.
It is invoked when an object is passed by value, returned by value, or explicitly called.
Example: class MyClass { public: MyClass(const MyClass& obj) { // copy constructor logic } };
Example: MyClass obj1; MyClass obj2 = o...
Static variable is a variable that retains its value between function calls.
Static variables are declared using the 'static' keyword.
They are initialized only once and retain their value throughout the program execution.
They have a local scope within the function where they are declared.
Example: static int count = 0; // retains its value between function calls
Program to add two linked lists
Create a function that takes two linked lists as input
Traverse both lists simultaneously and add corresponding nodes
Handle cases where one list is longer than the other
posted on 14 May 2022
I applied via Naukri.com and was interviewed before May 2021. There was 1 interview round.
I applied via Walk-in and was interviewed before Apr 2020. There were 5 interview rounds.
I applied via Recruitment Consultant and was interviewed before Sep 2020. There were 3 interview rounds.
I applied via Job Portal and was interviewed before Apr 2021. There was 1 interview round.
Solid principles are a set of design principles for writing maintainable and scalable code in C#.
Single Responsibility Principle (SRP) - a class should have only one reason to change
Open/Closed Principle (OCP) - a class should be open for extension but closed for modification
Liskov Substitution Principle (LSP) - derived classes should be substitutable for their base classes
Interface Segregation Principle (ISP) - client...
I applied via Campus Placement and was interviewed before May 2020. There were 4 interview rounds.
I applied via Naukri.com and was interviewed before Apr 2020. There were 5 interview rounds.
I applied via Campus Placement and was interviewed before Jan 2020. There were 4 interview rounds.
I applied via Campus Placement and was interviewed before May 2020. There were 4 interview rounds.
I applied via Walk-in and was interviewed before May 2020. There was 1 interview round.
based on 1 interview
Interview experience
TCS
Accenture
Wipro
Cognizant