Sw Engineer Interview Questions

450 sw engineer interview questions shared by candidates

A base class pointer is pointing to a derived class object. Which of the follwoing would be the correct way of de-affocating its resources ? answer a) Make the derived class destructor as virtual answer b) Make the base class distructor as virtual answer c) Call the derived class destructor before base class one using () answer d) Destructors by default are called based upon the containd object so nothing explicits is required answer e) answers b+c correct
avatar

SW Engineer

Interviewed at Rafael

3.5
Feb 11, 2024

A base class pointer is pointing to a derived class object. Which of the follwoing would be the correct way of de-affocating its resources ? answer a) Make the derived class destructor as virtual answer b) Make the base class distructor as virtual answer c) Call the derived class destructor before base class one using () answer d) Destructors by default are called based upon the containd object so nothing explicits is required answer e) answers b+c correct

what happens if the derived class from an abstract class doesnot provide implementation of pure virtual function? answer a) compile time error answer b) runtime error answer c) the derived class becomes abstract too answer d) nothing is wrong
avatar

SW Engineer

Interviewed at Rafael

3.5
Feb 11, 2024

what happens if the derived class from an abstract class doesnot provide implementation of pure virtual function? answer a) compile time error answer b) runtime error answer c) the derived class becomes abstract too answer d) nothing is wrong

If you've got a variable of such specific type and signedness and I want to get some result after operating with it, what should I do? Please write your answer in a .c file, send it to us and then we will go through it in your companion so you can describe to us why you did it that way.
avatar

R&D SW Engineer

Interviewed at Continental

3.9
Mar 15, 2023

If you've got a variable of such specific type and signedness and I want to get some result after operating with it, what should I do? Please write your answer in a .c file, send it to us and then we will go through it in your companion so you can describe to us why you did it that way.

Viewing 151 - 160 interview questions

Glassdoor has 450 interview questions and reports from Sw engineer interviews. Prepare for your interview. Get hired. Love your job.