What substitution should be made to //-Ref such that ptr1 points to variable c in the following C code?
#include int main(){ int a = 1, b = 2, c = 3; int *ptr1 = &a; int **sptr = &ptr1; //-Ref}

What substitution should be made to //-Ref such that ptr1 points to variable c in the following C code?

#include <stdio.h>int main(){ int a = 1, b = 2, c = 3; int *ptr1 = &a; int **sptr = &ptr1; //-Ref}
Correct Answer *sptr = &amp;c;

Related Questions

Comment on the following 2 C programs.
#include  //Program 1int main(){ int a; int b; int c;}#include  //Program 2int main(){ int a; { int b; } { int c; }}