From 100f61d1bb716d4309a5ab905d603ac8e53dee0b Mon Sep 17 00:00:00 2001 From: JayMburu Date: Thu, 14 Apr 2022 15:34:18 +0300 Subject: [PATCH] prototypes of all your functions and the prototype of the function --- 0x0F-function_pointers/function_pointers.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 0x0F-function_pointers/function_pointers.h diff --git a/0x0F-function_pointers/function_pointers.h b/0x0F-function_pointers/function_pointers.h new file mode 100755 index 0000000..590af76 --- /dev/null +++ b/0x0F-function_pointers/function_pointers.h @@ -0,0 +1,10 @@ +#ifndef FUNCTION_POINTERS_H +#define FUNCTION_POINTERS_H + +#include +#include +void print_name(char *name, void (*f)(char *)); +void array_iterator(int *array, size_t size, void (*action)(int)); +int int_index(int *array, int size, int (*cmp)(int)); + +#endif