Question: Question 1 in the following code: int myVal = computeValue(2, 3); int computeValue (int x, int y) { int result = x+y; return result; }
Question 1 in the following code: int myVal = computeValue(2, 3);
int computeValue (int x, int y) { int result = x+y; return result; }
2 is
options:
a parameter
An argument
the function body
the header of the function computeValue
Question 2 When writing Variable1 == Variable2, the contents of Variable2 are tested against the contents of Variable1; If they are equal, then the evaluation will yield true, otherwise it will yield false
options:
True
False
Question 3 When writing Variable1 == Variable2, the content of Variable2 gets copied in Variable1.
options:
True
False
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
