Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

1.What is the output of the following C++ program?

1.     What iswithout.

#include <iostream>

using namespace std;

int main(int argc, char *argv[])

{

    int arr[2][3]={{25,16,9},{58,49,45}};

 int *b[2]={arr[0],arr[1]};

    std::cout<<arr[0][1]-*(*(arr+1)+2)<<std::endl;

    std::cout<<b[0][1]-*(*(b+1)+2)<<std::endl;

    return 0;

}

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question