What is the output of this C code? int main() { int i = 10; int *p = &i; foo(&p); printf("%d ", *p); printf("%d ", *p); } void foo(int **const p) { int j = 11; *p = &j; printf("%d ", **p); }
1.11 11 11
2.11 11 Undefined-value
3.Compile time error
4.Segmentation fault/code-crash
Posted Date:-2022-03-20 09:31:27