Samsung Interview Questions
Total Set :1
Top 10 Samsung Interview Questions With Answer
Question: 1 / 10
How the operating system taking care of const int i=5; (tell the implementation)
Question: 2 / 10
Explain the memory layout of main memory of computer system? Give an example to make understand the memory layout means in which segment what type of variable will be store?
Question: 3 / 10
By how many method we can allocate the memory in C and what is the difference between malloc and calloc. And which is faster and why?
Question: 4 / 10
Implementation of new () in C++?
Question: 5 / 10
What is the difference between malloc and new and which one is faster and why?
Question: 6 / 10
Difference between extern and static and give an example to justify?
Question: 7 / 10
Is it possible to access the static variable defined in another file, if YES then how? if NO then why not.
Question: 8 / 10
What is the difference between these two statements?
const int *p;
int const *p;
Question: 9 / 10
For statement const int *p = 5, which is true from given below two statement:
a) int a;
p = &a;
b) *p = 0;
Question: 10 / 10
What is the self-referential structure, write an example of self-referential structure?