Shared Flashcard Set

Details

Chapter 6
fdasfasfasf
10
Games
Professional
04/24/2013

Additional Games Flashcards

 


 

Cards

Term
Reference
Definition
An another name for a variable.
Term
Whats wrong with the code.
intmyScore=1000;
Definition
int myScore=1000;
Term
Variable that passes as a function
Definition
argument variable
Term
Whats wrong..
void badSwap{int x, int y};
Definition
void badSwap(int x, int y);
Term
cout
Definition
Code used to write text
Term
Parameter will get a copy of the agument
Definition
passed by value
Term
Can you gave a function access to an agrumrent
Definition
Yes
Term
Passing a variable by value created some...
Definition
overhead
Term
You must do what to a variable before you assign it to a parameter
Definition
Copy
Term
Why is passing by reference efficient
Definition
You don't have to make a copy of the variable
Supporting users have an ad free experience!