Samsung Electronics interview question

mostly asked about c/c++ ,data structure and algorithms. asked about pointer ,heap ,stack ,sorting .