1 votes 1 votes 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); } Output is 11 11 undefined value How? Aakash1125 asked Apr 18, 2017 edited Apr 18, 2017 by Prashant. Aakash1125 2.2k views answer comment Share Follow See all 5 Comments See all 5 5 Comments reply Show 2 previous comments Prashant. commented Apr 18, 2017 reply Follow Share yes :) 0 votes 0 votes Prashant. commented Apr 18, 2017 reply Follow Share check here it gives 11,0,0 0 votes 0 votes Aakash1125 commented Apr 18, 2017 reply Follow Share okkk ..aapka ka dhanyawaad 0 votes 0 votes Please log in or register to add a comment.