#include #include void displayArray(int *t, int n){ for(int i=0; i0) { n = n/10; res++; } return res; } int main(int argc, char *argv[]){ int * p_len_of_arg =(int *)malloc(sizeof(int)*argc); for(int i=1; i<=argc ; i++){ p_len_of_arg[i-1] = nbDigit(atoi(argv[i])); } displayArray(p_len_of_arg, argc-1); return EXIT_SUCCESS; }