Question: ` ` ` #include using namespace std; int main ( ) { int arr [ 3 ] [ 3 ] = { { 1 ,

```
#include
using namespace std;
int main(){
int arr[3][3]={{1,2,3},{4,5,6},{7,8,9}};
int *ptr = &arr[0][0];
for (int i =0; i 9; i +=2){
cout *(ptr + i)"";
}
return 0;
}
```
a)13579
b)1357
c)1359
d)159
e) Error
` ` ` #include using namespace std; int main ( )

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!