i
Electronic
Arts
Work with us
Filter interviews by
I applied via LinkedIn
Using a copy constructor in C++ creates a new object by copying the values of another object.
Copy constructor is a special member function that creates a new object as a copy of an existing object.
It is invoked when a new object is created from an existing object.
Example: MyClass obj1; MyClass obj2 = obj1; // Copy constructor is called to create obj2 as a copy of obj1.
Pointers/references are used to pass memory addresses instead of values, for efficiency and to modify data directly.
Use pointers when you need to modify the original data passed to a function
Use references when you want to avoid copying large data structures
Pointers are commonly used in dynamic memory allocation
References are used in function parameters to avoid unnecessary copying
Example: int x = 10; int *ptr = &x; *p...
Top trending discussions
Basic coding test like palindrome, series,arrays
I applied via Naukri.com and was interviewed before Mar 2022. There were 4 interview rounds.
MCQ based on programming, 2 programming problems
Copy constructor is a special constructor that creates a new object by copying an existing object.
It is used to initialize an object with another object of the same class.
It takes a reference to an object of the same class as an argument.
It creates a new object with the same values as the object passed as argument.
It is automatically called when a new object is created from an existing object.
Example: MyClass obj1; MyC...
Shallow copy creates a new object with the same reference as the original, while deep copy creates a new object with a new reference.
Shallow copy only copies the top-level object, while deep copy copies all nested objects.
Shallow copy is faster and uses less memory, while deep copy is slower and uses more memory.
Examples of shallow copy include copying arrays and objects using the spread operator, while examples of dee...
Virtual functions are functions that can be overridden by derived classes.
Virtual functions are declared in a base class and can be overridden in derived classes.
They allow for polymorphism, where a derived class object can be treated as a base class object.
Virtual functions are called based on the actual object type, not the pointer or reference type.
They are declared using the virtual keyword in the base class and ca...
I am good at object-oriented programming, data structures, and algorithms in C++.
Strong understanding of object-oriented programming principles
Proficient in implementing data structures and algorithms in C++
Experience with memory management and pointers
Familiarity with C++ standard library and STL
Ability to optimize code for performance and efficiency
I am passionate about software development and this job aligns perfectly with my skills and interests.
I have a strong passion for software development and enjoy solving complex problems.
This job offers the opportunity to work on cutting-edge technologies and contribute to innovative projects.
I am excited about the company's mission and values, and believe in the positive impact software can have on society.
I am eager t...
I am committed to staying with the company for the long term and contributing to its success.
I am looking for a stable and challenging work environment.
I believe in the company's mission and values.
I am eager to grow and develop my skills within the company.
I am open to new opportunities and challenges that may arise.
I am committed to building strong relationships with my colleagues and contributing to a positive work ...
STL in C++ provides reusable algorithms and data structures for efficient programming.
STL includes containers like vector, list, map, algorithms like sort, find, and iterators.
Example: vector
STL saves time by providing pre-implemented solutions for common programming tasks.
Design patterns in C++ are reusable solutions to common problems in software design.
Design patterns help in creating flexible, maintainable, and scalable code.
Examples of design patterns in C++ include Singleton, Factory, Observer, and Strategy.
Each design pattern has a specific purpose and can be applied in different scenarios.
Understanding design patterns can improve code quality and efficiency in software developmen...
I applied via Recruitment Consultant and was interviewed in Aug 2021. There was 1 interview round.
Polymorphism can be used to create a Card class with different types of cards. A function can then use polymorphism to randomize the pack.
Create a Card class with different types of cards as subclasses
Implement a function that creates a pack of cards using polymorphism to add different types of cards
Use a random number generator to shuffle the pack
I applied via Approached by Company and was interviewed before Jul 2021. There were 7 interview rounds.
I applied via Naukri.com and was interviewed in Mar 2021. There were 4 interview rounds.
I applied via Naukri.com and was interviewed before Nov 2023. There was 1 interview round.
3 online dsa questions easy to medium
based on 1 interview experience
Difficulty level
Duration
QA Tester
136
salaries
| ₹3 L/yr - ₹7.2 L/yr |
Senior QA Tester
114
salaries
| ₹5 L/yr - ₹9.1 L/yr |
QA Tester II
71
salaries
| ₹4 L/yr - ₹6.4 L/yr |
Quality Assurance Tester 2
63
salaries
| ₹4.6 L/yr - ₹6.8 L/yr |
Software Engineer
60
salaries
| ₹10 L/yr - ₹32 L/yr |
Pole To Win
International Game Technology
Ubisoft Entertainment
Aristocrat