Int a[5]={10,15,20,25,30};
Int*p=a;
Find a)cout<<*(p+2);
b)cout<<*p+3;
Answers
Answered by
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
Hindi,
4 months ago
India Languages,
4 months ago
Geography,
10 months ago
Environmental Sciences,
10 months ago
Biology,
1 year ago
English,
1 year ago