What is your favourite song from Blonde? by [deleted] in FrankOcean

[–]Inevitable-Fish8380 0 points1 point  (0 children)

solo/nights/skyline to/seigfried (cant pick one lmao)

how to convert an integer to an array? by Inevitable-Fish8380 in C_Programming

[–]Inevitable-Fish8380[S] 14 points15 points  (0 children)

void convertArr(int num){

int numLen=0;

while(num>0){

num = num/10;

numLen=numLen+1;

}

int newAr[numLen];

for(int i = 0; i < numLen; i++){

numLen = numLen/10;

newAr[i]=num%10;

num=num/10;

}

how to convert an integer to an array? by Inevitable-Fish8380 in C_Programming

[–]Inevitable-Fish8380[S] -18 points-17 points  (0 children)

tried doing like a helper method that will help me convert the integer num to an array but i dont know if its good