Computer Science, asked by murarimishra123456, 11 months ago

What is the output of the program?
#include <iostream>
using namespace std;
void trick (int *templ, int *temp2)
int *temp-templ;
templ=temp 2;
temp 2=temp;
int main() {
int a=100;
int b=200;
int c=300;
trick (&a,&b);
trick (&a,&c);
cout<<b;​

Answers

Answered by Mukeshgorain338
2

Answer:

there is a mistake t*temp = templ

Explanation:

output

100

Similar questions