Interview questions
C++
1. How to implement vector
Answer: http://codefreakr.com/how-is-c-stl-implemented-internally/
2. how to implement string class
Answer: http://www.ccs.neu.edu/home/sbratus/com1101/mystring.txt
3. How to implement list in STL
Answer: http://codefreakr.com/how-is-c-stl-list-implemented-internally/
4. how many casting are there in c++ & their corresponding use.
Answer: http://studymustgoon.blogspot.in/2017/05/casting-in-c.html
5. what is copy constructor, write the syntex. Why we pass reference in copy constructor.
6. Is it possible virtual constructor and virtual copy constructor.
7. why virtual destructor.
8. In copy constructor can we pass pointer as an argument?
Linux
1. Difference between mutex & semaphore
2. write a code for producer consumer problem.
3. in which scenario we use semaphore.
C
1. how realloc is implemented.
Answer: this concept is just like malloc implementation.
Comments
Post a Comment