posted 8 years ago
Can anyone tell me what ; means after for loop . I know it do nothing but actually in my code it increment the last cell of array let say my first array of data is [0,1,2] then it goes to [0,1,3]...[0,1,6],[0,2,6],[0,3,6]...[0,5.6], [1,5,6],[2,5,6]...[4,5,6] . I want to know how this loop is working and why produce this output .
Note: n,k is a parameter i put from cmd and in that case i put n=7 and k=3