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

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:30
Your boss wants you to configure his laptop so that he can access the company network when he is on the road. you suggest a vpn connection to him. he is very concerned about security and asks you how secure vpn is. what do you tell him?
Answers: 1
question
Computers and Technology, 23.06.2019 11:30
Auser is given read permission to a file stored on an ntfs-formatted volume. the file is then copied to a folder on the same ntfs-formatted volume where the user has been given full control permission for that folder. when the user logs on to the computer holding the file and accesses its new location via a drive letter, what is the user's effective permission to the file? a. read b. full control c. no access d. modify e. none of the above
Answers: 1
question
Computers and Technology, 23.06.2019 21:30
Write a fragment of code that reads in strings from standard input, until end-of-file and prints to standard output the largest value. you may assume there is at least one value. (cascading/streaming logic, basic string processing)
Answers: 3
question
Computers and Technology, 23.06.2019 21:50
Description: write function lastfirst() that takes one argument—a list of strings of the format "lastname, firstname" —and returns a list consisting of two lists: (a) a list of all the last names (b) a list of all the first names
Answers: 2
You know the right answer?
Având definita următoarea structura: typedef struct pers {
char * nume;
int varsta;
Questions
question
English, 09.10.2019 03:30
question
History, 09.10.2019 03:30