こういうことです!
int Rand()
{
  const int nums[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,-1}; // -1が終りの合図
  static int index = 0;
  return nums[ index ++ ];
}

Rand()で得られる0, 1, 2, 3, 4, 5, 6, 7, 8, 9を
9 8 7 6 5 4 3 2 1 0と表示したいんです。
もちろんnumsの中身はユーザーはわかりません
配列を確保したりnewとかmallocは禁止です!