Is it possibleto write a C program that functions differently according to argv[0] : Is it possible to write a C program that functions differently according to argv[0]?


In fact, I am working on an exercise from a C textbook. The exercise is to write a program that converts upper case to lower or lower case to upper, depending on the name it is invoked with, as found in argv[0].
