Which of the options below will print out all of the values in the array (99, 101, 250, 399, 415, and 512)?
const int SIZE = 6;
int arr [SIZE] = {99, 101, 250, 399, 415, 512};
Group of answer choices
D-)
int * ptr = &arr;
for(int i=0; i
{
cout<<*ptr<
(*ptr)++;
}
A-)
int * ptr = arr;
for(int i=0; i
{
cout<<*ptr <
ptr++;
}
B-)
int * ptr = arr;
for(int i=0; i
{
cout<<*ptr <
(*ptr)++;
}
C-)
int * ptr = &arr;
for(int i=0; i
{
cout<<*ptr<
ptr++;
}