By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,599 Members | 1,148 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,599 IT Pros & Developers. It's quick & easy.

an array of linked list

P: 1
I have this structure as a C/C++ implemented in .Net env
typedef struct s
{ int data;
struct * s;
in the main()
S *a[10];
do I have to make it equal to the malloc() I remember that in the old env it was a must,but now I am compile it and nothing appeared to be wrong and if yes how can I do it?

second :if suppose I have S *temp,*head;
Does the temp move or stay ?As far as I know it stays but just to be sure of this
Nov 10 '06 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.