?? tst_calloc.c
字號:
#include <stdlib.h>
#include <stdio.h> /* for printf */
void tst_calloc (void) {
int xdata *p; /* ptr to array of 100 ints */
p = calloc (100, sizeof (int));
if (p == NULL)
printf ("Error allocating array\n");
else
printf ("Array address is %p\n", (void *) p);
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -