Week 6 Quiz
Sign in to Google to save your progress. Learn more
This week we looked at another new thing in C - pointers. What type of value can a pointer hold?
Clear selection
There are many different types of pointers. Which of the following is not a valid type of pointer?
Clear selection
What would be the appropriate way to declare an integer pointer?
Clear selection
What would be the appropriate way to assign an address to an integer pointer?
Assume a, the integer pointer has already been declared. b is the integer with the address we're using for this operation.
Clear selection
Which of the following is the appropriate way to de-reference a pointer?
De-referencing a pointer also mean that we're getting the pointer to return the value of the variable that it is pointing to.
Clear selection
By passing pointers as function parameters, we can have more than one "return value". Under which circumstances is this statement not in effect?
Assume pointer is not used in any other operations besides those described below.
Clear selection
Image 1
Image 1
Image 1 above shows the use of a pointer for taking user inputs. Is there anything wrong with the code in the image?
Assume pointer is not used in any other operations besides those described below.
Clear selection
Next
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google. - Terms of Service - Privacy Policy

Does this form look suspicious? Report