Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

explain memory layout of a C program

Answer Posted / ravindra garg

(Higher Memory Address)

STACK -->Func arguments and return val(locals)
'
'
|
^
'
HEAP --> Dynamic Data

BSS --> Uninitialized Data
(Global and static default to zero)

DATA SEGMENT --> Initilialised data
(Global and static with init vals)

CODE SEGMENT --> Instructions

[Lower Memory Address]

Is This Answer Correct ?    38 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the c in ctime mean?

1014


Write programs for String Reversal & Palindrome check

1005


what is reason of your company position's in india no. 1.

2223


my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?

1524


How a string is stored in c?

1013


Hai what is the different types of versions and their differences

1896


What is the difference between NULL and NUL?

1243


What are the types of macro formats?

1056


Explain how can a program be made to print the name of a source file where an error occurs?

1133


int far *near * p; means

3502


What do you mean by dynamic memory allocation in c?

1045


What is extern storage class in c?

939


How is = symbol different from == symbol in c programming?

982


What does c mean in standard form?

1096


Can variables be declared anywhere in c?

1032