What's a pointer in Go?
Go Pointers

Quiz
•
Instructional Technology
•
University
•
Medium
M Severiche
Used 2+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A function that returns a variable
A variable that stores a value
A type of loop in Go
A variable that is used to store the memory address of another variable
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol denotes a pointer?
*
#
&
@
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare a pointer?
var p *int
var p int
var *p string
var p &int
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Pointers store memory addresses
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does & operator do?
to get the size of a variable
to get the type of a variable
to get the address of a variable in Go
to get the value
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What operator dereferences a pointer?
&
#
*
@
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what does the following Go code print?
10
The memory address of x
0
nil
Create a free account and access millions of resources
Similar Resources on Quizizz
11 questions
Python - Data Types

Quiz
•
12th Grade - University
15 questions
GUIA TECNOLOGIA 2

Quiz
•
8th Grade - University
10 questions
Sec. 9: Processes and Process Data

Quiz
•
University
15 questions
Quiz de Programação Front End

Quiz
•
12th Grade - University
10 questions
Materi 3 - HTML

Quiz
•
University
10 questions
X Web

Quiz
•
University
10 questions
Swift: Funciones, arrays y variables

Quiz
•
University
10 questions
QUIZ - JAVASCRIPT OFICIAL

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