Memory Map Questions and Answers
A memory map in C language represents how memory is allocated and organized for variables, functions, and data segments during program execution. It includes the text (code), data, heap, and stack segments. Understanding the C memory map is vital for programmers tackling programming questions and answers in competitive coding tests or technical interviews by companies like TCS, Infosys, and Wipro. These questions assess your grasp of runtime memory allocation, pointers, and scope of variables. This section includes detailed C language questions with answers on memory maps, helping learners debug programs efficiently and develop optimized code.
Memory Map
Showing 10 of
101 questions
11. Process of byte ordering is decided by
- Endianess
- Operating system
- Compiler
- All the above
12. Power PC is a
- Little-endian system
- Big-endian system
- Bi-endian system
- None of these
14. C89 standard is developed in between
- 1979-1989
- 1989-1999
- 1999-2009
- None of these
15. The register IP (Instruction Pointer) is a
- Data Register
- Segment Register
- Register Pointer
- Flag Register
16. Linux is a
- 16 bits operating system
- 24 bits operating system
- 32 bits Operating system
- 64 bits Operating system
17. Which command list out all the process in the Linux Operating system ?
- Pmap
- Process
- ps
- None of these
18. When the required memory for operating system is 4GB but main memory RAM doesnot supports so operating reserves memory from hard disk which is called
- Phisical memory
- Real memory
- Virtual memory
- Register memry
19. What is the hald of the address OXFFFFF?
- 0x80000
- 0X7FFFF
- 0x70000
- None of these
20. the variables created in stack area is called
- Load time variable
- Run time variable
- Compile time variable
- None of these