{"title":"malloc","url":"https://okihayashi0710.hatenablog.com/entry/2014/05/15/150537","author_name":"okihayashi","author_url":"https://blog.hatena.ne.jp/okihayashi/","description":"#include<stdlib.h> void* malloc(size_t size); void* \u306f\u3068\u308a\u3042\u3048\u305a\u306e\u578b\u3001\u4f7f\u3046\u3068\u304d\u306b\u5177\u5408\u7684\u306a\u578b\u3092\u5165\u308c\u308b size_t size\u306fsizeof()\u3064\u304b\u3048\u3070\u3044\u3044100byte\u306eint\u578b\u306e\u9818\u57df\u3092\u78ba\u4fdd\u3057\u305f\u3044\u3068\u304d int*n; n = (int*)malloc(sizeof(int)*50); \u3068\u304b\u7d42\u308f\u3063\u305f\u3089free(n)\u3067\u958b\u653e\u3059\u308b","image_url":null,"categories":["\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fokihayashi0710.hatenablog.com%2Fentry%2F2014%2F05%2F15%2F150537\" title=\"malloc - \uff08\u65e7\uff09\u7814\u7a76\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","published":"2014-05-15 15:05:37","type":"rich","version":"1.0","blog_title":"\uff08\u65e7\uff09\u7814\u7a76\u30e1\u30e2","height":"190","blog_url":"https://okihayashi0710.hatenablog.com/"}