pthread_exit((void*)&apple); } int main(int argc, char *argv[]) { pthread_t thrd1, thrd2, thrd3; void* tret; pthread_create(&thrd1, NULL, (void*)task1, NULL); pthread_join(thrd1, (void*)&tret); printf("The food:%d %d %d\n", ((struct food*)(tret))->a, ((struct f...