Skip to content

Instantly share code, notes, and snippets.

@dilijev
Created October 7, 2012 06:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dilijev/3847329 to your computer and use it in GitHub Desktop.
Save dilijev/3847329 to your computer and use it in GitHub Desktop.
rephrasing the interview question
int n = 42;
int* p = &n;
const int* const * a = &p; // given (interview question)
int const* const * b = a; // rephrased version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment