This is my program, for now it is intended to compute permutations of any string entered, but the function ox will not return the final x value. ox is the function that actually computes the permutations so the return of the x value is critical. Any help would be much appreciated, please keep in mind that I am very new to c programming so it it very likely that I am doing something very simple and basic wrong.
int ox(int x);
int ox(int x)