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

Threaded View

  1. #1
    Join Date
    Jan 2005
    Posts
    317

    Cool contrasting pointers from non-pointers

    Hi All,

    This is a general elementary level C question, but somehow i am stuckup at its logical understanding. hopefully i can get good know-how on it from the forum.

    My question is that if we say that a pointer type variable is a variable whose address is known to us somehow. So we access that variable by using its address that is saved at some other location in the memory.

    Now assuming that my above understanding is correct for a pointer type variable, then i want to know how would we access some variable which is just a simple int type or long type etc... and we dont know its addess in the memory?

    Any help would be great.

    -naim1
    Last edited by naim1; January 27th, 2011 at 09:14 PM.

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