char* buffer = cad; int x=0; while (*buffer) { *c = *buffer; buffer++; x++; c++; } c -= x;
int x=0; while (cad[x]) { c[x] = cad[x]; x++; }