• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Pointers and arrays
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pointers and arrays


  • Subject: Re: Pointers and arrays
  • From: Michael <email@hidden>
  • Date: Sun, 15 Oct 2006 15:52:08 -0700


The compiler does this, not the debugger. In C, arrays *are* pointers; they really aren't "first-class types".



Hi Justin,
Yes..I realize I misspoke. But, nonetheless, it still begs the question of whether it is possible to follow an array in "sub_function_main" when the array is initialized in "main".
All I see is a pointer to the array, even though I pass the array to the sub_function.
Thanks


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Pointers and arrays
      • From: "Justin C. Walker" <email@hidden>
References: 
 >Pointers and arrays (From: "Michael" <email@hidden>)
 >Re: Pointers and arrays (From: Laurence Harris <email@hidden>)
 >Re: Pointers and arrays (From: "Michael" <email@hidden>)
 >Re: Pointers and arrays (From: "Justin C. Walker" <email@hidden>)

  • Prev by Date: GDB "Cannot access memory at address <address>"
  • Next by Date: Unicode in programs
  • Previous by thread: Re: Pointers and arrays
  • Next by thread: Re: Pointers and arrays
  • Index(es):
    • Date
    • Thread