Question: Arrays, pointers, and c-strings: (a) Write a C++ statement that displays the address of an integer variable count (b) Write the declaration of pointer variable

Arrays, pointers, and c-strings: (a) Write a C++ statement that displays the address of an integer variable count (b) Write the declaration of pointer variable that points to float called floatPointer (c) If each int variable is assigned 4 bytes, how many bytes will assigned to an array declared as: int data[500000]: (d) Rewrite the following loop so it uses pointer notation with pointer arithmetic and indirection assuming the array myArray has 100 integers. for (int i = 0: i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
