-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.c
More file actions
31 lines (28 loc) · 1.27 KB
/
main.c
File metadata and controls
31 lines (28 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: sgarigli <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/10/26 12:46:19 by sgarigli #+# #+# */
/* Updated: 2023/10/26 12:46:21 by sgarigli ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_printf.h"
int main(void)
{
char *str;
char c;
int n;
void *ptr;
ptr = NULL;
str = NULL;
n = 0;
c = '#';
ft_printf("%d\n",ft_printf("%u e %d e %s e %c e %X e %p\n",100 ,n,str,c,-420,ptr));
printf("%d\n",printf("%u e %d e %s e %c e %X e %p\n",100 ,n,str,c,-420,ptr));
printf("%d\n", printf("suo: %x\n", ULONG_MAX));
ft_printf("%d\n", ft_printf("mio: %x\n", ULONG_MAX));
return (0);
}