All pastes #795273 Raw Edit

Stuff

public text v1 · immutable
#795273 ·published 2007-11-23 23:23 UTC
rendered paste body
#include <stdio.h>

int main ()
{ 
  int *start, *current, *end, args;
  current = start;
  for ( ; ; )
    { 
      args = scanf("%d", current);
      printf("Read in %d\n", *current);
      if (*current == 0)
        { 
          end = current;
          break;
        }
      else
        current++;
    }

  current = start;

  while (current != end)
    { 
      printf ("%d", *current);
      current++;
    }
  return 0;
}