Skip to content

Commit

Permalink
prototypes of all your functions and the prototype of the function
Browse files Browse the repository at this point in the history
  • Loading branch information
JayMburu committed Apr 14, 2022
1 parent f6f37b2 commit 100f61d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions 0x0F-function_pointers/function_pointers.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#ifndef FUNCTION_POINTERS_H
#define FUNCTION_POINTERS_H

#include <stddef.h>
#include <stdio.h>
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

0 comments on commit 100f61d

Please sign in to comment.