How to call function only once in a recursive function? : 
I want to call recursive function only once,I tried it like we do as for static variable but it is throwing error, can anybody suggest?

say I have function recur(int j);

        void recur(int x){
            if(x==0)
                return;
            //want x to be xth fibnocci number,but only at initialization.
            //like x=fib(x);
            cout<<x<<" ";
            recur(x-1);
        }

So output recur(5) must be {5,4,3 2 1} not {5,3,1}