Hi, just a small correction...ur function should rather used passed row an col values insetad of hardcoding them...somehting like this.......
1. " *p1=&m; *p2=&n;" This is wrong. If you want to make pointer p1 to point to integer m, then it should be "p1 = &m". 2. Where did u initilize...
Separate names with a comma.