Computer Science Questions
Explore questions in the Computer Science category that you can ask Spark.E!
A common use for reference variable is in a function that is getting _____ _____
Normally arguments are passed by value to ___________ ___________ (this means the parameter variable is only getting a copy of the arguments value, so can't change the argument)
In the function any changes to the reference variable affect the _________ _____________
A function's signature is its ______ and list of _____________ ______ (similar to prototype without return type)
Created in memory when the function ___________ and "____________" at the end of the function
If more than one parameter is a reference variable each gets its own _
Parameter variables ___ like local variables.
Parameter variables are initialized when the function is called by the ____________ _______ passed in the function call
Global varaibles are assigned a __ automatically if not explicitly initialized
Local variables are initialized when the function is called by the ______ ___ in definition.
Static local variables have a default initialization of __.
We can have _ __ _____ ________ with the same name as long as their parameters differ in number of parameters or type of parameters
If a local variable and a global variable have the same name, the local one "_________" the global one in that function, meaning the local one is used in that function.
Global variables do/do not take more memory than local variables.
Only variables can be used as _____________ for functions with reference variables
Global variables are accessible without being _________ as parameters.
Global variable logic errors are easy/difficult to track down.
Global variables are defined ________ any function (including main).
Functions can send a single value back to the function call, this is a ________ ______.
Global variables are ___________ by all functions defined after them.