Computer Science › Program Design
Study the following pseudocode.
**int * var1;**
**int foo = 63;**
**var1 = &foo;**
**var2 = *var1;**
What are the values of var1 and var2?
Study the following pseudocode.
**int * var1;**
**int foo = 63;**
**var1 = &foo;**
**var2 = *var1;**
What are the values of var1 and var2?
What is the value of the string kitchen after the following code is run?
What is the value of the string kitchen after the following code is run?
What is the difference between declaring a function as void and declaring it as int?
What is the difference between declaring a function as void and declaring it as int?
Imagine that I want to write a code for a bank that asks a user whether he/she wants to make a withdrawal, make a deposit, or quit. What type of loop would be best to use in order to make sure the user is able to do as many transactions as they want until they press quit to end the program?
What is not a feature of the Java programming language?
Imagine that I want to write a code for a bank that asks a user whether he/she wants to make a withdrawal, make a deposit, or quit. What type of loop would be best to use in order to make sure the user is able to do as many transactions as they want until they press quit to end the program?
What is not a feature of the Java programming language?