| | |
how the memory is allocated?
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Mar 2007
Posts: 21
Reputation:
Solved Threads: 1
•
•
•
•
Memory allocation of variables declared in a program is ------
a) Allocated in RAM
b) Allocated in ROM
c) Allocated in stack
d) Assigned in registers.
which one is correct please tell me the answer in 24 hrs...
If optimization needs to be performed then the same variable might get a place in the register.
![]() |
Similar Threads
- Dynamic Memory Allocation - offset pointers (C)
- When does the memory get allocated to the function (C++)
- array of objects memory allocation (C++)
- Out of memory (Java)
- Constructor and Convertion operator are the same,how to avoid memory leak? (C++)
- Dynamic memory allocation homework (C++)
Other Threads in the C Forum
- Previous Thread: Inputting text (name) as opposed to an int (ID) - C programming
- Next Thread: returning number of characters with ASCII code
| Thread Tools | Search this Thread |
Tag cloud for C
adobe ansi api array arrays asterisks binarysearch calculate centimeter char command convert copyimagefile copypdffile cprogramme creafecopyofanytypeoffileinc createcopyoffile csyntax directory drawing dynamic executable fflush file fork forloop frequency getlasterror givemetehcodez graphics gtkgcurlcompiling hacking hardware highest homework i/o inches incrementoperators infiniteloop kernel km lazy linked linkedlist linux linuxsegmentationfault list lists locate logical_drives match matrix microsoft motherboard multi mysql number open opendocumentformat opensource owf pattern pdf performance pointer pointers posix problem probleminc program programming radix recursion recv repetition research scanf scheduling scripting segmentationfault send sequential shape socketprograming spoonfeeding stack standard string strings structures student systemcall testautomation turboc unix user variable voidmain() wab windows.h





