- 62 名前:デフォルトの名無しさん mailto:sage [2010/03/07(日) 11:43:04 ]
- >>61
このホワイトボードプログラミングのところ: http://japan.zdnet.com/sp/feature/07tenthings/story/0,3800082984,20409456-2,00.htm 一応、こんな感じで(^^ int * reverse(int ary[]) { int i = 0; int j = SIZE - 1; int tmp; loop: if (i >= j) goto end; tmp = ary[i]; ary[i++] = ary[j]; ary[j--] = tmp; goto loop; end: return ary; }
|

|