Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

whats the purpose of this C function

Name: Anonymous 2007-09-12 5:22 ID:wfxixJ2g

Excuse my newfagedry

Consider the C code function below:
void qwerty(int *x, int *y, int size)
{
 int k=0;
 while ( k < size ) {
    *(x + k) = *(y + k);
    k++;
 }
}

i) What best describes the purpose of the function qwerty?

Name: Anonymous 2007-09-12 5:52 ID:ACHJdM9S

void superqwerty(int *x, int *y, int size)
{
 int k(101);
 while(k>100)
 {
  if(k >=size) k=1;
  x[k]=y[k]
  k=rand();
 }
}

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List