int main(void) { int num[3][5]={ {1, 2, 3, 4, 5}, {6, 7, 8, 9, 10}, {11, 12, 13, 14, 15} }; printarry(num, 3); addtwo(num, 3); printarry(num, 3); }
void printlink (Task * head) { while (head != NULL) { printf("priority %d \n", head->priority); //printf("iatime %f \n", head->iatime); printf("artime %f \n",head->artime); printf("nofstask %f \n", head->nofstasks); printf("timelq %f \n\n", head->timelq); printarry(head->ststime,head->nofstasks); head = head->next; } }