Write a program that initializes a 2D array, arr[3][5], and uses a pointer to this array in
a single loop to print all elements. What does the output indicate about the organization of
a 2D array in memory?
Write a program that defi nes two int pointer variables p and q that point to variables
x and y, respectively. Devise a function named swap_pointer that swaps the pointers so that
p and q point to y and x, respectively.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here