I wrote 2 programs: the first one gets 2 strings through argv and print the program process id and the smallest string(by dictionary order). here is the code: