#include #include char *strcat_mays( char destino[], char fuente[] ) { int i = 0; int j; while (destino[i] != '\0') i++; for (j=0; fuente[j] != '\0'; j++) { if (fuente[j] >= 'a' && fuente[j] <= 'z') destino[i+j] = toupper(fuente[j]); else destino[i+j] = fuente[j]; } destino[i+j] = '\0'; return destino; } int main() { char texto[100] = ""; strcat_mays( texto, "esto es " ); puts( texto ); strcat_mays( texto, "una PRUeba." ); puts( texto ); system( "pause" ); return 0; }