0 votes 0 votes #include <stdio.h> void fun(int); typedef int (*pf) (int ,int ); int proc(pf, int ,int); int main() { int a = 3; fun(a); return 0; } void fun(int n) { if (n>0) { fun(--n); printf("%d,", n); fun(--n); } } Programming in C recursion + – shivam sharma 5 asked Aug 27, 2018 • edited Aug 27, 2018 by shivam sharma 5 shivam sharma 5 6.4k views answer comment Share Follow See all 3 Comments See all 3 3 Comments reply Shaik Masthan commented Aug 27, 2018 reply Follow Share typedef int (*pf) (int ,int ); int proc(pf, int ,int); what is the use of this function declarations?? 0 votes 0 votes Shaik Masthan commented Aug 27, 2018 reply Follow Share check this, it may help https://gateoverflow.in/232891/test-series 0 votes 0 votes MiNiPanda commented Aug 27, 2018 reply Follow Share 0,1,2,0 2 votes 2 votes Please log in or register to add a comment.