logo

Crowdly

Browser

Add to Chrome

Apa keluaran dari program di bawah ini -------------------------------------...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Apa

keluaran dari program di bawah ini

--------------------------------------------

void solve1(int a, int b){

   int _a = a;

a = b;

b = _a;

}

void solve2(int a, int b){

   int _a = a;

   a = b;

   b = _a;

}

int main(){

   int a = 12, b = 24;

   solve1(a,b);

   printf(“a=%d\tb = %d\n”, a, b);

   solve2(a,b);

   printf(“a=%d\tb = %d”, a,b);

   return 0;

}

--------------------------------------------

0%
0%
0%
0%
100%
More questions like this

Want instant access to all verified answers on ecourse.del.ac.id?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome