1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

array and pointer

Discussion in 'C' started by mmondal71, May 31, 2010.

  1. mmondal71

    mmondal71 New Member

    Joined:
    May 25, 2010
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    0
    Can I simulate a non-0-based array with a pointer?
     
  2. spoddar66

    spoddar66 New Member

    Joined:
    May 25, 2010
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    0
    Not if the pointer points outside of the block of memory it is
    intended to access.
    lets file name is :-file.c
    assembler code=file.s
    object file=file.o
    executable file=a.out
     

Share This Page