Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void print(struct boxtype *Array[10])
- {
- int k;
- int j;
- struct boxtype *b[10];
- b=Array;
- //This outer loop makes you go through all indexes
- for(k=0;k<10;k++)
- {
- printf("Line %d", k);
- //This inner loop goes through each line of the array
- while(b!=NULL)
- {
- printf("%s ", b[k]->Word);
- //This traverses the list
- b[k]=b[k]->link;
- }
- printf("\n");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement