Thread: Accessing a certain Memory Location

  1. #16
    Registered User
    Join Date
    Jun 2005
    Location
    Stockholm, Sweden
    Posts
    64
    You don't know what a character pointer is but you want to access certain memory locations?

  2. #17
    Registered User
    Join Date
    Sep 2005
    Posts
    19
    Suppose you have a character variable c.
    then a char * is a variable that points to this variable i.e. store its address.

    For eg we have
    char c;
    char *pc;
    pc = &c;
    this implies pc contains address of c variable. Similarly you can have pointers to any variable, structure, function etc.
    You should go through pointers in depth before jumping into this topic.

  3. #18
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    I've got to try this.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Accessing variables with memory address
    By ITAmember in forum C Programming
    Replies: 54
    Last Post: 06-28-2009, 03:35 AM
  2. To find the memory leaks without using any tools
    By asadullah in forum C Programming
    Replies: 2
    Last Post: 05-12-2008, 07:54 AM
  3. allocate apecified memory location for a c variable
    By BharathKumar in forum Linux Programming
    Replies: 5
    Last Post: 06-01-2007, 03:47 PM
  4. accessing windows (98) memory from a dos box?
    By thedumbmutt in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 05-12-2003, 12:50 PM
  5. Accessing memory directly
    By YALINI in forum C Programming
    Replies: 0
    Last Post: 08-30-2001, 11:56 PM