First page Back Continue Last page Graphics
Pointless use
‘sprintf’ scans the format string for fields.
- Unofficial benchmark shows 50% performance of ‘sprintf(buff, data)’ over ‘sprintf(buff, “%s”, data)’.
Using ‘strcpy’ or ‘strncpy’ would be much better in this case.