Skip to content

Latest commit

 

History

History

0x10-variadic_functions

0x10-variadic_functions

Description

This project focuses on variadic functions in C. It covers how to define and use variadic functions, how to handle variable arguments, and how to apply these concepts to solve problems effectively. The project aims to provide a deep understanding of these fundamental concepts in C programming.

Resources

Read or watch

Learning Objectives

General

  • What are variadic functions.
  • How to use va_start, va_arg, and va_end macros.
  • Why and how to use the const type qualifier.

Tasks

Task Name File Description
Beauty is variable, ugliness is constant 0-sum_them_all.c Writes a function that returns the sum of all its parameters.
To be is to be the value of a variable 1-print_numbers.c Writes a function that prints numbers, followed by a new line.
One woman's constant is another woman's variable 2-print_strings.c Writes a function that prints strings, followed by a new line.
To be is a to be the value of a variable 3-print_all.c Writes a function that prints anything.