How the compiler arranges the several sections , C/C++ Programming

Q: How the compiler arranges the several sections in the executable image?

A: The executable contained following sections:

1.      Data Section (initialized data variable section, uninitialized data variable section,  )

2.      Code Section

3.      Keep in mind that all static variables are allocated in the initialized variable section.

 

Posted Date: 3/21/2013 7:23:35 AM | Location : United States







Related Discussions:- How the compiler arranges the several sections , Assignment Help, Ask Question on How the compiler arranges the several sections , Get Answer, Expert's Help, How the compiler arranges the several sections Discussions

Write discussion on How the compiler arranges the several sections
Your posts are moderated
Related Questions
A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

Selection sort - C program: Write a program to define a selection sort. void main()  {   clrscr();   int a[100],ch,n;   cout   cin>>n;   for (int i=0;i

Explain Object-oriented programming Object-oriented programming (OOP) attempts to meet these requirements, providing methods for managing enormous complexity, achieving reuse o

In this lab, please complete a given program to perform the following tasks: 1. Allocate a 10 by 5 2D byte array dynamically. The way of allocation must be consistent with pag

We are now quite happy to use the basic mathematical expressions, however in engineering we use scientific functions i.e Sin , Cos  , ln etc . Within C we have the following functi

Each of the following two procedures defines a method for adding two positive integers in terms of the procedures inc, which increments its argument by 1, and dec, which decrements


one of the segments is showing compilation error...

Question 1 Implement a class stack which simulates the operations of the stack allowing LIFO operations. Also implement push and pop operations for the stack 2 Explain the c

Program for Memory Optimization of C / OpenCL Code Project Description: This is possibly a very simple project for someone with an excellent knowledge of C and OpenCL. That,