/printf

A collaboration between Mary Njoroge and Emmanuel Atuluku.

Primary LanguageC

Question 0. Write a function that produces output according to a format.

Question 1. Handle the following conversion specifiers:

Question 2. Handle the following custom conversion specifiers:

Question 3. Handle the following conversion specifiers:

Question 4. Use a local buffer of 1024 chars in order to call write as little as possible.

Question 5. Handle the following custom conversion specifier:

Question 6. Handle the following conversion specifier: p.

Question 7. Handle the following flag characters for non-custom conversion specifiers

Question 8. Handle the following length modifiers for non-custom conversion specifiers:

l h Conversion specifiers to handle: d, i, u, o, x, X

Question 9. Handle the field width for non-custom conversion specifiers.

Question 10. Handle the precision for non-custom conversion specifiers.

Question 11. Handle the 0 flag character for non-custom conversion specifiers.

Question 12. Handle the - flag character for non-custom conversion specifiers.

Question 13. Handle the following custom conversion specifier:

Question 14. Handle the following custom conversion specifier:

Question 15. All the above options work well together.