Skip to content
Snippets Groups Projects
Commit e2ff835a authored by praveen's avatar praveen
Browse files

Delete BufferOverflowCPU.c

parent 0fdc121d
No related branches found
No related tags found
No related merge requests found
#include <stdio.h>
#include <stdlib.h> /* For exit() function */
int main()
{
char sentence='a';
FILE *fptr;
fptr = fopen("program.txt", "w");
if(fptr == NULL)
{
printf("Error!");
exit(1);
}
while(1){
fprintf(fptr,"%c", sentence);}
return 0;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment