Clicked the wrong word in spell check
The way I'd Interpret the question (as you described it) is that you want to prompt for a number (the number of times to roll the dice). i.e. random number, where n is and element of [1,6].
Generate the the random number 'n'
Add this to the end of the linked list - This uses the function malloc(), so you don't need to know how many rolls there will be when you write your program.
For each roll of the dice, you add another element to the end of the linked list with a new random number - And at the end, you print them out (or something)
If I were you, I'd contact your teacher to clarify what they wanted.