Skip to content

Instantly share code, notes, and snippets.

@kateolenya kateolenya/main.c
Created Mar 14, 2019

Embed
What would you like to do?
Private function in C using static
#include "private_funct.h"
int main()
{
struct Contact * Tony;
Tony = create_contact();
// print_numbers( Tony );
// will cause compile time error
delete_contact( Tony );
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.