Skip to content

How can I get the address of an array? #13

Answered by rlogiacco
rlogiacco asked this question in Q&A
Discussion options

You must be logged in to vote

What about the following?

char c = chars[0];
pGet = &c;

The inability to obtain a pointer directly of the internal structure is a sort of protection of the internal representation...

Replies: 1 comment

Comment options

rlogiacco
Nov 16, 2018
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by rlogiacco
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #13 on December 12, 2020 14:22.