• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

malloc undeclared error in simple linked list

 
Punit Jain
Ranch Hand
Posts: 1015
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,
i am trying to create a simple linked list, but i m getting one error there, below is my code:


Error is:
 
Punit Jain
Ranch Hand
Posts: 1015
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
actually i wan not including the library file #include<stdlib.h>, therefore the error was.
but now i have included and the error is gone, but one got more error..
 
Punit Jain
Ranch Hand
Posts: 1015
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
okay....
solved...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic