The code snippets demonstrate pointer arithmetic and array indexing operations. The first snippet prints 7 by dereferencing pointers to an integer array. The second prints 16 by indexing a multi-dimensional integer array. The third prints "per" by indexing a string array. The fourth snippet is invalid as it attempts to index a string array with integers instead of pointers as required.
The code snippets demonstrate pointer arithmetic and array indexing operations. The first snippet prints 7 by dereferencing pointers to an integer array. The second prints 16 by indexing a multi-dimensional integer array. The third prints "per" by indexing a string array. The fourth snippet is invalid as it attempts to index a string array with integers instead of pointers as required.
The code snippets demonstrate pointer arithmetic and array indexing operations. The first snippet prints 7 by dereferencing pointers to an integer array. The second prints 16 by indexing a multi-dimensional integer array. The third prints "per" by indexing a string array. The fourth snippet is invalid as it attempts to index a string array with integers instead of pointers as required.