Complete the implementation of the following function: bool…

Complete the implementation of the following function: bool search(int value): returns true if value is found in a singly linked list; otherwise it returns false Node* head; Node* ptr; struct Node { int info; Node* link; }; bool search(int value) {       ptr  =  head; while (ptr != NULL)      { // write your code here                }      return false; }

The baby array declared below holds the birth records of the…

The baby array declared below holds the birth records of the babies born at General Hospital in one day.   struct BirthRecord {   string lastName;   string firstName;   float  length;   int    pounds;   int    ounces; }; birthRecord baby;   Write a statement to print the first and last name of the last baby born, separated by a white space.   // write your code here.