C++ Job Interview Questions

C++ iş mülakatlarında karşılaştığım soruları sizlerle paylaşıyorum.

1- C++ nesne yönelimli programlama: gelen soruların ayrıntısını hatırlamıyorum ama temel kavramları hatırlamak gerekiyor.

2- C++ standartları: C++ standartlarını bilmek, hangi standartta kod yazdığını söyleyebilmek ve yeni gelen standartların yenilikleri üzerine sorulara cevap verebilmek gerekiyor.

3- STL (Standart Template Library): Bu kütüphane içerisinde bulunan konteynırları (containers) ve özelliklerini bilmek önemli.
STL kütüphanesi ayrıca algoritmalar, iterators ve fonksiyonları da içinde barındırmaktadır.

4- Static ve Dinamik hafıza nedir farkları nelerdir?
Cevap:Statik hafıza, derleme sırasında stack içerisine yerleştirilir ve boyutu bellidir ve program çalışırken boyutu değişmez. Dinamik hafıza ise programın çalışması sırasında heap içerisine yerleştirilir ve program çalışırken boyutu değişebilir.

5- Hangi değişkenler hangi hafıza segmentinde bulunur sorusu daha çok gömülü sistemlerde için önemli bir konu.

6- Difference between Call by Value and Call by Reference?

7- What is this pointer? 
It refers the current object's memory address.

8- What are the access specifiers? 
Private: only accesible from the current class
Public: accessible from anywhere.
Protected: only accesible from the current class and its child classes.

9- Major C++ Features or Object Oriented Terms?
Object: run-time entities and instances of a class which is a user defined data type.
Encapsulation and Data abstraction:
Data abstraction:
Inheritance:
Polymorphism:
Dynamic Binding:
Message Passing:

10- Structure vs Class in C++?

11- Malloc() vs new / Delete vs Free?

12- Inline Functions ? 

13- Friend Class and function in C++?

14- Function overloading and operator overloading?

15- Copy Constructor? 

16- What is inheritance? 

17- What is static member?

18- 

https://www.toptal.com/c-plus-plus/interview-questions

https://www.tutorialspoint.com/cplusplus/cpp_interview_questions.htm


https://www.geeksforgeeks.org/quiz-corner-gq/#C++%20Programming%20Mock%20Tests

https://www.geeksforgeeks.org/train-a-support-vector-machine-to-recognize-facial-features-in-c/




Comments