I wish to ask how can permu and input has 4 size when dol is 0 ,1, 2 ,'\0'
because this would mean that it can fit in 4 charecters with null .
then null charecter should be at position 4 i.e permu[4]='\0';
Please correct if I am wrong?
I will take some more time understanding the explaination given by Lerner.