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
10 questions
QUIZ - JAVASCRIPT OFICIAL

Quiz
•
University
10 questions
PHP BASIC

Quiz
•
University
15 questions
GUIA TECNOLOGIA 2

Quiz
•
8th Grade - University
10 questions
Quiz 1 - Clase 02 - PRE UNIVO 22

Quiz
•
University
10 questions
Sec. 9: Processes and Process Data

Quiz
•
University
10 questions
LINUX HISTORIA DIRECTORIOS Y COMANDOS

Quiz
•
University
10 questions
You Can (Not) Advance

Quiz
•
University
13 questions
Quiz #5 - Python

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade