Hello,
I'm struggling to understand function pointer, Please see below the attempt I've made so far :
What is use of function pointer ?
I'm struggling to understand function pointer, Please see below the attempt I've made so far :
Code:
#include <stdio.h>
int *add(int x, int y);
int main()
{
int a = 5;
int b = 4;
return 0;
}
int *add(int x, int y)
{
return x + y;
}