//#include "stdafx.h"//If the vc++6.0, with this line.
#include "stdio.h"
#include "string.h"
int
main(
void
){
char
a[]=
"rr 667887 456-123321"
,b[4][11],i=0,j;
char
* token =
strtok
(a,
" "
);
while
(token != NULL){
strcpy
(b[i++],token);
token =
strtok
(NULL,
" "
);
}
for
(j=0;j<i;
printf
(
"%s "
,b[j++]));
printf
(
"\n"
);
return
0;
}