rendered paste body#include <stdio.h>#include <string.h>#include <stdlib.h>#include <unistd.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>int carga (char *arg[]){char lin_comand [50];int i=1;memset (lin_comand, '\0',sizeof(lin_comand));memset (arg, '\0', sizeof(arg));gets(lin_comand);arg[0]=strtok(lin_comand," ");while((arg[i] = strtok(NULL ," " )) != NULL) { i++;} printf("%s\n%d\n",arg[0],i); return i;}int main(){char *arg[25];int numcomand;numcomand = carga(arg);printf("%s\n%d\n",arg[0],numcomand); return 0; }