Better test case output

This commit is contained in:
Timo Schmidt 2023-03-19 06:13:08 +01:00
parent eb935cf908
commit f8475271e5
1 changed files with 5 additions and 5 deletions

View File

@ -6,7 +6,7 @@
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/03/19 05:26:52 by tischmid #+# #+# */
/* Updated: 2023/03/19 05:35:16 by tischmid ### ########.fr */
/* Updated: 2023/03/19 06:12:57 by tischmid ### ########.fr */
/* */
/* ************************************************************************** */
@ -34,18 +34,18 @@ int main(void)
int arr[] = {1, 2, 3, 4, 5, 6, 7, 8, 9};
i = -1;
while (++i < arrlen)
while (++i < arrlen - 1)
{
printf("%d, ", arr[i]);
}
printf("<end>\n");
printf("%d\n", arr[i]);
ft_rev_int_tab(arr, arrlen);
i = -1;
while (++i < arrlen)
while (++i < arrlen - 1)
{
printf("%d, ", arr[i]);
}
printf("<end>\n");
printf("%d\n", arr[i]);
return (0);
}
*/ ////