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
What's a pointer in Go?
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 Wayground
10 questions
Apuntadores y Funciones en C

Quiz
•
University
10 questions
Robotics/Coding Pop Quiz

Quiz
•
4th Grade - Professio...
10 questions
TC-2V-Trifàsica

Quiz
•
University
15 questions
Python Internship Quiz

Quiz
•
12th Grade - University
15 questions
Preguntas de JavaScript

Quiz
•
University
10 questions
8 ICT diagnostic test

Quiz
•
8th Grade - University
10 questions
Lourdes Amaranta Ayala Gracia

Quiz
•
8th Grade - University
10 questions
Python

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade