Social Sciences, asked by amanami8339, 10 months ago

Int a[5]={10,15,20,25,30};
Int*p=a;
Find a)cout<<*(p+2);
b)cout<<*p+3;

Answers

Answered by Ibranaaztechz
1

Answer:

include <iostream>

using namespace std;

void fun(int& a, int b)

{

a += 2;

b += 1;

}

int main()

{

int x = 10, y = 2;

fun(x, y);

cout << x << " " << y << " ";

fun(x, y);

cout << x << " " << y;

return 0;

}

Explanation:

plz follow me

Similar questions