
C++ pointers
Authored by Shiny Verghese
Computers
University
Used 79+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of these is the indirection operator?
&
>>
<<
*
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of this piece of code?
13
3
Syntax error
none of the given options
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of this piece of code?
15
5
8
This is too confusing
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of this piece of code?
Value of constant pointer (const) cannot be changed
Variable value cannot be used to initialise the pointer
12
24
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A function may return a pointer but the programmer must ensure that the pointer
still points to a valid object after the function ends
has not been assigned an address
was received as a parameter by the function
has not previously been returned by another function
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Use the delete operator only on pointers that were
never used
not correctly initialized
created with the new operator
dereferenced inappropriately
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dynamic memory allocation occurs
when a new variable is created by the compiler
when a new variable is created at runtime
when a pointer fails to dereference the right variable
when a pointer is assigned an incorrect address
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
computer Networks
Quiz
•
University
10 questions
Industry 4.0 Unit 1
Quiz
•
University
10 questions
Scratch
Quiz
•
KG - Professional Dev...
9 questions
Structured/Traditional SDM
Quiz
•
University
11 questions
Tutorium 1 - Prog2
Quiz
•
University
10 questions
QUIZ GAME
Quiz
•
University
12 questions
QUIZ SAD TOPIC 1_Introduction to Information System (SAD)
Quiz
•
University
10 questions
Quiz Network Cabling Structure - SSK20353 - Network Technology
Quiz
•
University
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