Skip to content

Instantly share code, notes, and snippets.

@Mhacom
Created May 25, 2014 06:03
#include <stdio.h>
int main(void)
{
setbuf(stdout,NULL);
//1000000000
//char comment[1000000000];
char *pcm;
pcm = (char *) malloc(1000000000 * sizeof(char));
if(pcm != NULL)
{
printf("You are good to go\n");
gets(pcm);
puts(pcm);
}
else
{
printf("Insufficient memory");
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment