Logo Search packages:      
Sourcecode: ccmalloc version File versions  Download package

test_C_05.c

#include <stdlib.h>
#include <string.h>

#define S "Hello World"

int main()
{
  char * s = strcpy((char*) malloc(strlen(S)), S);
  free(s);
  exit(0);
  return 0;
}

Generated by  Doxygen 1.6.0   Back to index