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

  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