subject

Având definita următoarea structura: typedef struct pers {
char * nume;
int varsta;
char * adresa;
struct pers * urm;
} persoana;

persoana * lista = null; , care este indicator la prima persoana din lista. Se cere:
- sa se caute o persoana cu un nume precizat in lista și dacă se poate sa se returneze un pointer la nodul in care se găsește, iar dacă nu se găsește sa se returneze NULL.
- sa se afișeze informațiile din toate nodurile.

Dacă se poate sa ma ajutați și cu explicații la acest Exercițiu. Mulțumesc!

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 17:20, dylanolmeda9
The thickness of a part is to have an upper specification of 0.925 and a lower specification of 0.870 mm. the average of the process is currently 0.917 with a standard deviation of 0.005. determine the percentage of product above 0.93 mm.
Answers: 3
image
Computers and Technology, 23.06.2019 04:31, tbt81
Type the correct answer in the box. spell all words correctly. the managing director of a company sends a christmas greeting to all his employees through the company email. which type of network does he use? he uses an
Answers: 1
image
Computers and Technology, 23.06.2019 06:00, jack487
How can a user delete a drawing object
Answers: 1
image
Computers and Technology, 24.06.2019 10:00, shrafe
Which two technologies support the building of single-page applications?
Answers: 2
You know the right answer?
Având definita următoarea structura: typedef struct pers {
char * nume;
int varsta;

Questions in other subjects: