plz answer soon.........

Discussion in 'C' started by \/(-(\)(<@?(-$(-), Feb 1, 2007.

  1. \/(-(\)(<@?(-$(-)

    \/(-(\)(<@?(-$(-) New Member

    Joined:
    Jan 31, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    software engineer
    Location:
    bangalore
    I need to insert any value let 10 at any given memory address like 2002.

    So can I directly write the value at any location, if yes than how? :rolleyes:
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    But 2002 might not be a valid address location but if you have a valid location assign a value of the location to the pointer and then you can write anything there as normal pointer.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice