I was asked to write a c/cpp program to find size of any process in an interview. can any one tell me how this could be achieve ?
p.s.- before marking the que as duplicate - plz read it carefully : I have asked how to find via c/cpp program not just with any unix/linux shell command