
Complete Modern C++ - Deprecated and Removed Features
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What was the purpose of the 'register' storage class in earlier C standards?
To store variables in memory
To ensure variables are stored on the stack
To allocate variables dynamically
To provide a hint for optimization by storing variables in a register
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why were trigraphs used in older C compilers?
To improve memory management
To enhance security features
To support special characters not available on older keyboards
To optimize code execution
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What replaced exception specifications in modern C standards?
Noexcept specifier
Finally blocks
Try-catch blocks
Error codes
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main issue with 'auto_ptr' that led to its deprecation?
It had no ownership semantics, leading to potential bugs
It was too slow in execution
It was not compatible with modern compilers
It was too complex to use
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function has replaced 'random_shuffle' in modern C standards?
Randomize
Permute
Shuffle
Sort
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?