0 votes 0 votes What is the output of this C code? Please explain what is happening at line no. 12 #include <stdio.h> int main() { int i = 97, *p = &i; foo(&p); printf("%d ", *p); return 0; } void foo(int **p) { int j = 2; *p = &j; printf("%d ", **p); } Programming in C programming-in-c pointers output + – sam.mavux asked Oct 12, 2018 • retagged May 7, 2021 by Shiva Sagar Rao sam.mavux 2.6k views answer comment Share Follow See 1 comment See all 1 1 comment reply daksirp commented Oct 14, 2018 reply Follow Share can any1 please explain this ? o/p is : 2 2 0 votes 0 votes Please log in or register to add a comment.