Which one of these is the indirection operator?
C++ pointers

Quiz
•
Computers
•
University
•
Hard

Shiny Verghese
Used 75+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
&
>>
<<
*
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
8.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What would be the output of this piece of code?
A random value such as the address of arr[1]
5
10
15
Similar Resources on Quizizz
10 questions
Structure in C

Quiz
•
University
10 questions
Python Basics

Quiz
•
University
10 questions
Java Control Flow statements

Quiz
•
University
10 questions
Basics of C

Quiz
•
University
10 questions
Scientific Computing with Python-Basics

Quiz
•
University
11 questions
Pointers

Quiz
•
University
10 questions
Weekly Contest #8 - TechXNinjas

Quiz
•
University
10 questions
Programming for Problem Solving

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade