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
Call by reference: Arguments to a function can be passed in two way; one by call by value and other by call by reference.  Call by value is passed either through a constant

write a program that counts the number of occurrences of the string in the n-th Padovan string P(n)   program in java // aakash , suraj , prem sasi kumar kamaraj college

how much is it to fix a small data struct in a sorted list that pass itemtypes. all the code is written just logical errors

Each function has its own stack frame between %fp and %sp. Let Caller calls Callee. Then Caller's %sp becomes callee's %fp, and callee's %sp set to be a new value (a smaller one be

Run the following C++ program with and without preprocessor variable POSTFIX defined. #include using namespace std; extern "C" int atoi( const char *str );

#question.College life is tough. Eating pizza for every meal is hitting you hard. You are looking at working out to stay healthy. You found a web site that tells you how many ca

A: The simplest instance of a smart pointer is auto_ptr that is included in the standard C++ library. Auto Pointer only takes care of Memory leak & does nothing regarding dangling

C Coding to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can be found

#question.conversion of tree into binary tree.

C Program for EVEN & ODD NO IN ANY MATRICES #include stdio.h> #include conio.h> void main() {           int a[100][100];           int i=0,j=0,r,c,even=0,odd=0;