1 Find Error Following Program Segments Assume Following Declarations Statements Int Zptr Q37080403

1. Find the error in each of the following program segments. Assume the following declarations and statements: int *zPtr; //4. What does this program do? 1 // Ex. 8.21: ex08_21.cpp 2 // What does this program do? 3 #include <iostream> 4 using std::c

1. Find the error in each of the following program segments. Assume the following declarations and statements: int *zPtr; // zPtr w¡її reference array z int *aPtrO 0; int number; int z[5]-{1, 2, 3, 4, 5); a) ++zPtr; ANS: Ь) // use pointer to get first value of array zPtr;

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.