What happens if an exception is thrown in a function, but not caught?
c++

Quiz
•
Computers
•
University
•
Hard
Used 778+ times
FREE Resource
22 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The program continues executing and it is ignored.
The function that throws the exception is exited.
The program terminates.
The compiler will find the error and the program would not compile.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the difference between an array and STL, Standard Template Library, array?
They are the same thing.
STL array is a dynamic array
Array size must be known at compile time but, STL array size does not.
Array is a data structure and STL array is an instance of a class.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
There can only be one catch block in a program
True
False
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The compiler creates an instance of a function template in memory as soon as it encounters the template.
True
False
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
When a class becomes a friend of another class they are additionally getting access to:
Private
Protected
Public
None of the above
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
When a class is derived from a base class it gets access to:
Private
Protected
Private and Protected
Protected and Public
Private, Protected and Public
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In a class the access specifiers are _______ by default:
Private
Protected
Public
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Collections C#

Quiz
•
University
25 questions
Neo Coding Round 1 Set 3

Quiz
•
University
20 questions
PHP Quiz 1

Quiz
•
University
19 questions
Computer Science Quiz 02

Quiz
•
10th Grade - University
20 questions
Vue.js Basics

Quiz
•
University
20 questions
QUIZ DASAR DASAR PEMROGRAMAN JAVA

Quiz
•
11th Grade - University
20 questions
PHP First Internal Practical Viva

Quiz
•
University
20 questions
Technical Quiz R1

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