Reference and Pointers in C++
Quiz
•
Computers, Science
•
6th - 8th Grade
•
Practice Problem
•
Medium
Natalia Fumero
Used 115+ times
FREE Resource
Enhance your content in a minute
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
โครงสร้างภายในของโลก
Quiz
•
8th Grade
10 questions
แบบทดสอบบทที่ 9
Quiz
•
8th Grade
12 questions
7th Digital Citizenship Quiz
Quiz
•
7th Grade
12 questions
History of computers
Quiz
•
7th Grade
10 questions
Konsep Routing
Quiz
•
1st - 10th Grade
13 questions
Evaluación #1 de matemáticas
Quiz
•
8th - 10th Grade
13 questions
CODING QUIZZ
Quiz
•
8th Grade
10 questions
C# lesson10
Quiz
•
1st - 10th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
