Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
Newbie question about "malloc" ???
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Dave Thompson, post: 1693132"] And BASED. CONTROLLED is (probably) allocated from a heap, but can be accessed (by name) only in a LIFO fashion, but LIFO separately per variable, not for all variables in a scope as for automatic. BASED can be used for arbitrary heap patterns, as well as overlaying and some special cases (like system-supplied "locate mode" I/O buffers). C has auto as a keyword, but it is very rarely used because never needed -- except in C89 for implicit int locals, which were always horrible style and now outlawed. There was some discussion a few months ago on c.s.c (or maybe c.s.c++? I forget) about 'recycling' it for variable (or local-constant) declarations which take their type automatically from the required initializer. - David.Thompson1 at worldnet.att.net [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
Newbie question about "malloc" ???
Top