> For the complete documentation index, see [llms.txt](https://fashaun.gitbook.io/dev-c/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fashaun.gitbook.io/dev-c/function/use-function-as-args.md).

# Use function as args

\#Function Pointer

function A

{}

function B

{}

function C (arg1, arg2, addr\_*of*\_function)

{

}

int main()

{

C(arg1, arg2, A);

C(arg1, arg2, B);

}
