...
Code Block | ||
---|---|---|
| ||
#include <string.h>
void f4() {
char p[40];
const char *q = "Too short";
size_t n = sizeof(p);
memcpy(p, q, n);
} |
...
...
Code Block | ||
---|---|---|
| ||
#include <string.h>
void f4() {
char p[40];
const char *q = "Too short";
size_t n = sizeof(p);
memcpy(p, q, n);
} |
...