#include using namespace std; int main() { int array[] = {41, 15, 61, 27}; int *ptr = (array + 3); cout << *ptr; return 0; }
In this program, we are making the pointer point to next value and printing it.
Previous Question Next Question
Your comments will be displayed only after manual approval.