randomprocess
Programmer
How do I do this guys....
char *buff2 = " "; // is malloc'd in real code.
sprintf(&buff2[2],"xx"); // is sprintf(&buff2[2],"%02X",*ptr) in real code.
printf("%s\n");
obviously trying to write "xx" to &buff2+2 and &buff2+3.
char *buff2 = " "; // is malloc'd in real code.
sprintf(&buff2[2],"xx"); // is sprintf(&buff2[2],"%02X",*ptr) in real code.
printf("%s\n");
obviously trying to write "xx" to &buff2+2 and &buff2+3.