一段簡短的程序告訴你爲何要創建動態內存以及創建動態內存的好處

/* malloc example: random string generator*/ #include <stdio.h> /* printf, scanf, NULL */ #include <stdlib.h> /* malloc, free, rand */ int main () { int i,n; char * buffer; printf ("How long d
相關文章
相關標籤/搜索