logo

Crowdly

Browser

Add to Chrome

Cho trước đoạn chương trình:  typedef struct Node { int  Info;       Node* ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Cho trước đoạn chương trình: 

typedef struct Node

{

int  Info;

     

Node* pNext;

}Node;

typedef struct List

{

Node* pHead;

Node* pTail;    

}List;

 

int ProList(List &l)

{   

Node *p;

int a=0;

p = l.pHead;

while(p!=NULL)

 {

     a++;

     p = p->pNext;

 }

return a;

}

Hỏi hàm ProList thực hiện công việc gì trong danh sách liên kết đơn?

0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on lms.rdi.edu.vn?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome