akudewan
March 19th, 2007, 01:40 PM
Hi,
I have a list of questions given to me, and I can't figure out a few of them. I looked up in some books, but I still can't get it...
What do the following declarations mean ?:
1) char sample(int (*pf)(char a, char b));
2) int(*pf)(void);
3) int(*pf)(char a, char b);
4) int(*pf)(char *a, char *b);
Edit: There's one more:
void fn(int a[])
Thanks in advance
I have a list of questions given to me, and I can't figure out a few of them. I looked up in some books, but I still can't get it...
What do the following declarations mean ?:
1) char sample(int (*pf)(char a, char b));
2) int(*pf)(void);
3) int(*pf)(char a, char b);
4) int(*pf)(char *a, char *b);
Edit: There's one more:
void fn(int a[])
Thanks in advance