Advertisement
rc-chuah

crash

Nov 23rd, 2021
1,181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.20 KB | None | 0 0
  1. #include<stdio.h>
  2. #include<stdlib.h>
  3.  
  4. struct node{
  5.   long int data[50];
  6.   struct node* next;
  7. };
  8.  
  9. int main(){
  10.   while(1==1){
  11.     struct node* head = (struct node*)malloc(sizeof(struct node));
  12.   }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement