
Reference and Pointers in C++
Authored by Natalia Fumero
Computers, Science
6th - 8th Grade
Used 115+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What does this symbol allow for in C++? -> *
De-refrencing
Summing numbers
Making text more sparkly
Performing modular operations
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What is the operator used for dereferencing or indirection?
*
&
%
&&
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Specify whether the statement below is valid or invalid.
int i;
double * dp = &i;
Valid
Invalid
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
A pointer variable store a/an
value of another value.
value of another variable.
address of another pointer.
address of another variable.
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Given the following declarations:
int i;
int *pi;
double d;
double *pd;
Specify whether the statements below is valid or invalid.
pi = &i;
Valid
Invalid
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
The __________, also known as the address operator, returns the memory address of a variable.
asterisk (* )
ampersand ( & )
percent sign ( % )
exclamation point ( ! )
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What does the following statement do?
double *num2;
Declares a double variable named num2
Declares and initializes a pointer variable named num2
Initializes a pointer variable named num2
Declares a pointer variable named num2
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
e- commerce and blogging
Quiz
•
7th Grade
15 questions
Arduino
Quiz
•
7th - 9th Grade
10 questions
الحركة وقوانين نيوتن
Quiz
•
8th Grade
10 questions
แบบทดสอบบทที่ 7
Quiz
•
8th Grade
9 questions
Tin học 8
Quiz
•
8th Grade
12 questions
The Scientific Method
Quiz
•
7th - 9th Grade
11 questions
Основы программирования на Паскале
Quiz
•
8th Grade
10 questions
TIK KELAS 9 A
Quiz
•
6th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade