Decide whether the syntax of each of the following statements is valid or invalid. If it is

Question:

Decide whether the syntax of each of the following statements is valid or invalid. If it is valid, mark it OK; if it is invalid, explain what is wrong. 1. listData->next = ptr1->next; 2. listData->next = *(ptr2->next); 3. *listData = ptr2; 4. ptr2 = ptr1->next->info; 5. ptr1->info = ptr2->info; 6. ptr2 = ptr2->next->next;

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

C++ Plus Data Structures

ISBN: 9781284089189

6th Edition

Authors: Nell Dale, Chip Weems, Tim Richards

Question Posted: