Which of the following code snippet can be used to access/print the second index of single dimensional array of integer pointer pt
cout<<*ptr[1];
cout<<*(ptr 1);
cout<<ptr[1];
cout<*ptr+1;
Computers
Question
Which of the following code snippet can be used to access/print the second index of single dimensional array of integer pointer pt