?What, if anything is required to fix the following code?
?
char val1, val2;
val1 = 10;
val2 = 25;
printSum(val1, val2);
void printSum(int x, int y)
{
cout
A. ?val1 and val2 should be passed by reference
B. ?nothing is required, the code is correct
C. the x and y variables should be named val1 and val2
D. ?val1 and val2 are the wrong type
Answer: D
You might also like to view...
What is wrong with this code?
``` class Person { private: string name; string address; public: People(); void SetName(string n); void SetAddress(string a); }; ``` A. The constructor has not initialized its variables. B. There is no constructor. C. Variables are passed into the set functions but nothing is returned. D. None of the above.
When initially pairing Bluetooth devices, a 4-digit ________ may be required
Fill in the blank(s) with correct word
Using hard disk space to temporarily store data or instructions from RAM is referred to as the ________
A) interrupt sequencer B) compressor C) virtual memory D) spool
A ________ provides another interface beyond the table in Datasheet view
A) wizard B) macro C) form D) report