1. What is the output, if any, of each of the following C++ statements? a. cout info; b. current = current -> link; coutinfo; c. coutlink->link->info; d. triail ->link=NULL; cout << trail -> info; e. cout<< last ->link -> info; 2. What is the value of each of the following relational expressions? a. current -> link ==temp b. temp -> link link -> info ==50 c. trail ->link -> link ==0 d. last ->link == NULL e. list = = current 3. What are the effects, if any, of each of the following C++ statements? a. trail -> link = Null; delete last; b. temp ->link = trail; c. list -> info = 19; d. current = current -> link; current -> link = temp ->link;



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *