void *memset(void *str, int c, size_t n)
str:地址
c:特定值
n:字节数
new
char* num=new char[n+1]
struct Node{
int val;
Node* next;
Node(int x):val(x),next(nullptr){};
};
Node* p=new Node(val);
void *memset(void *str, int c, size_t n)
str:地址
c:特定值
n:字节数
new
char* num=new char[n+1]
struct Node{
int val;
Node* next;
Node(int x):val(x),next(nullptr){};
};
Node* p=new Node(val);