#include <stdio.h> #include <stdlib.h> #include <string> int main() { char * p_char; //you should include <stdlib.h> - because that is where malloc() is declared p_char=(); ); count=count<<; printf("count=%d",count)…
https://blog.csdn.net/lixungogogo/article/details/50887028 一.malloc malloc在MSDN中原型为: void *malloc( size_t size ); 介绍为: malloc returns a void pointer to the allocated space, or NULL if there is insufficient memory available. To return a pointer to a t…