Skip to Main Content
Things To Do
Discover Frisco

Exam Rank 02 -

fmt++; if (*fmt == 'c') count += ft_putchar(va_arg(args, int)); else if (*fmt == 's') count += ft_putstr(va_arg(args, char *)); else if (*fmt == 'p') count += ft_putptr(va_arg(args, void *)); else if (*fmt == 'd' else count += write(1, fmt, 1); fmt++;

Start with ft_printf . If you nail its parser, you've proven you understand memory and flags. If you struggle after 1 hour, abort to get_next_line . exam rank 02

down arrow