Is a call to a void function used as a statement or is it used as an expression?
What is the output of the following program?
#include
void figureMeOut(int& x, int y, int& z);
int main()
{
using namespace std;
int a, b, c;
a = 10;
b = 20;
c = 30;
figureMeOut(a, b, c);
cout <><><><>
return 0;
}
void figureMeOut(int& x, int y, int& z)
cout <><><><><>
x = 1;
y = 2;
z = 3;
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here