what will be the output of the following program:
int main() { int i = 10; int *const p = &i; foo(&p); printf("%d\n", *p); } void foo(int **p) { int j = 11; *p = &j; printf("%d\n", **p); }
Correct Answer:
11 11
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:
11 11
need an explanation for this answer? contact us directly to get an explanation for this answer