A recursive function to print all increasing sequences of first n natural numbers . Every sequence should be length k . The array arr [ ] is used to store current sequence .
void printSeqUtil ( int n , int k , int & len , int arr [ ] ) {