Which of the following is NOT a method of passing data in C?
Multi-Paradigm Programming with Modern C++ - Passing Things Around

Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Hard
Quizizz Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
By constant array
By constant pointer
By constant reference
By value
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the recommended maximum number of arguments for a function to maintain simplicity?
2
6
4
8
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why should you avoid relying on interfaces of other packages in your interface design?
It might expose implementation details
It makes the code run faster
It increases the number of arguments
It simplifies the code
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default method for passing arguments when a copy is cheap?
By pointer
By constant reference
By value
By reference
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a better alternative to using out arguments in a function?
Using a global variable
Using a return statement
Using a raw pointer
Using a constant pointer
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a major downside of using raw pointers?
They are too complex
They are ambiguous
They are too fast
They are too simple
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When is it acceptable to use raw pointers?
When using a legacy API
When using a constant reference
When using a smart pointer
When using a modern API
Similar Resources on Quizizz
2 questions
Multi-Paradigm Programming with Modern C++ - Passing Things Around

Interactive video
•
University
2 questions
Multi-Paradigm Programming with Modern C++ - Arguments and Return Values

Interactive video
•
University
4 questions
Complete Modern C++ - Reference Versus Pointer

Interactive video
•
University
2 questions
Complete Modern C++ - Reference Versus Pointer

Interactive video
•
University
5 questions
Complete Modern C++ - Circular References

Interactive video
•
University
6 questions
Complete Modern C++ - Function Pointers

Interactive video
•
University
6 questions
The basics of pointers in Go | Smart Go

Interactive video
•
University
2 questions
Mastering C++ Standard Library Features [Video] - Smart Pointers: Guidelines

Interactive video
•
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