-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmyecho.c
24 lines (21 loc) · 1.03 KB
/
myecho.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* myecho.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: abenamar <abenamar@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/06/22 13:27:15 by abenamar #+# #+# */
/* Updated: 2023/06/22 18:45:04 by abenamar ### ########.fr */
/* */
/* ************************************************************************** */
#include <stdio.h>
#include <stdlib.h>
int main(int ac, char **av)
{
int i;
i = 0;
while (i < ac)
(printf("av[%d]: %s\n", i, av[i]), ++i);
return (0);
}