#include <ctype.h>
#include <string.h>
#include <stdio.h>
void wave(const char *y, char **target)
{
size_t len = strlen(y), i, j, f = 0;
for( i = 0; i + f < len; i++ )
{
const char *x = y;
while( *(x + i + f) == ' ' )
f++;
if( *(x + i + f) == '\0' )
break;
for( j = 0; j < len; )
{
if( x == y + i + f )
target[i][j++] = toupper(*x++);
target[i][j++] = *x++;
}
target[i][j++] = '\0';
printf("target = %s\n", target[i]);
}
}