1 2 3 4 5 6 7 8 9
#include <stdio.h> extern int foo(char* exec); int main(int argc, char* argv[]) { printf("Started with: %d arguments\n", argc); return foo(argv[0]); }