logo

Crowdly

Što će biti ispisano nakon izvršenja programa: #include<iostream> using name...

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

Što će biti ispisano nakon izvršenja programa:

#include<iostream>

using namespace std;

int A(int x) { return 3 * x; }

void B(int x, int& y) { y = A(x) + 3; }

int main() {

  int a = 3, b = 0, c;

  a = A(b); cout << a;

  B(a, b); cout << b;

  B(a, c); cout << c;

  return 0;

}

More questions like this

Want instant access to all verified answers on moodle.srce.hr?

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