CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 15

Threaded View

  1. #1
    Join Date
    Jun 2015
    Posts
    21

    Is memory allocated to a variable name or an address?

    When we have memory allocation or memory deallocation in Code, memory is assigned to what?

    1- A pointer's name (or equally the any name addressing related to compiler)

    or

    2- A pointer's address (what we can usually dereference it and get memory content) ?

    in other word: could we memory allocation to specific legal address (e.g: 0x7fff12345678) without any variable declaration?
    Last edited by alwaystudent; June 16th, 2015 at 03:26 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured