What is the output?
int main() { int a = 1, b = 2, c = 3; int *ptr1 = &a, *ptr2 = &b, *ptr3 = &c; int **sptr = &ptr1; //-Ref *sptr = ptr2; }
Correct Answer:
ptr1 points to b
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Correct Answer:
ptr1 points to b
need an explanation for this answer? contact us directly to get an explanation for this answer