1. What substitution should be made to //-Ref such that ptr1 points to variable C? #include <stdio.h> int main() { int a = 1, b = 2, c = 3; int *ptr1 = &a; int **sptr = &ptr1; //-Ref } a) *sptr = &c; b) **sptr = &c; c) *ptr1 = &c; d) none of…
1. What substitution should be made to //-Ref such that ptr1 points to variable C? #include <stdio.h> int main() { int a = 1, b = 2, c = 3; int *ptr1 = &a; int **sptr = &ptr1; //-Ref } a) *sptr = &c; b) **sptr = &c; c) *ptr1 = &c; d) none of…