apologize me i've put the wrong code, it should be, main process, Code: #include #include #include #include #include #define SHMSZ 4 #define SHMSZ2 1 main() { int noofvals=0,i,num,shmid,*shm,*s,shmid2,j; char *shm2,*s2; printf("Enter the Number Values you enter\n"); scanf("%d",&noofvals); int *arr=malloc(noofvals*sizeof(int)); for(i=0;i