somme.c 257 Bytes
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

int main(int argc, char * argv[]){
    int n1,n2;
    n1=atoi(argv[1]);
    n2=atoi(argv[2]);
    printf("PID : %d, PPID : %d, %d + %d = %d\n", getpid(), getppid(), n1, n2, n1+n2);
    return 0;
}