main() { int i=20, *k; k=&i; printf("\n%d %d", i, k); ++*k; printf("\n%d %d", i, k); (*k)++; printf("\n%d %d", i, k); } Let the output of first print statement is 20 1000. What is the output of 2nd and third print statements ?
21 1000 21 1002
21 1000 Garbage_value 1002
21 1000 22 1002
21 1000 22 1000