Samsung

1. How the operating system taking care of const int i=5; (tell the implementation)
2. 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?
3. 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?
4. Implementation of new () in C++?
5. What is the difference between malloc and new and which one is faster and why?
6. Difference between extern and static and give an example to justify?
7. Is it possible to access the static variable defined in another file, if YES then how? if NO then why not.
8. What is the difference between these two statements?
     const int *p;
     int const *p;
9. For statement const int *p = 5, which is true from given below two statement:
    a) int a;
       p = &a;
    b) *p = 0;
10. What is the self-referential structure, write an example of self-referential structure?
11. Difference between structure and union and what are the pros and cons of both?
12. What is the structure byte padding and how does it form and depend? Is there any concept of byte padding in union justify your answer?
13. How do we know the linked list is a circular or not?
14. What type of OS is Windows?
15. Difference between UNIX and LINUX?
16. What is the real time operating system?
17. How many types of CPU scheduling are there and explain all. Which one is better as per you and why also tell the feasibility of it?
18. Is there any ideal CPU scheduling possible? Justify your answer?
19. How to set the priority of any process in windows and in linux?
20. Can you say about the priority of mobile application which one is having higher priority.
21. What is a NULL pointer? How is it different from an unitialized pointer? How is a NULL pointer defined?
22. Is the cast to malloc() required at all?
23. What is a memory leak?

We are not saying that same will be for you but it might help you to setup your mind to face interview.

If you had interview recently, we request to share you valuable experience.


Kindly share you valuable feedback.
Hit/Like/Share..... :-)


CLICK --> 
For more fresh question being asked in various companies follow us at facebook.  

No comments:

Post a Comment