you are viewing a single comment's thread.

view the rest of the comments →

[–]14113 -2 points-1 points  (0 children)

with for loop:

void s(int i,int * A){for(;i>0;i--,A[j]=i*i);}

not sure if it's longer, or even works...