Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1) The correct order in which an exception is detected and handles is a.try,catc

ID: 3716462 • Letter: 1

Question

1) The correct order in which an exception is detected and handles is

a.try,catch,throw

b.throw,catch,try

c.catch,throw,try

d.try,throw,catch

2) In order to perform file processing in C++ , which header file must be created ?

a. <cstdio>, <iostream> and <fstream>

b.<cstdio> and <iostream>

c< cstdio> and <fstream>

d<iostream> and <fsreatm>

3. Without the statment .........., all ......statement must be written as std::cout.

a.using namespace std;cout

b. using std namespace ;cout

c.using std :: namepscae ;cout

d. using std ;namespace std::cout

Explanation / Answer

Ans1: d.try,throw,catch

Ans2: d. <iostream> and <fstream>

Ans3: a.using namespace std;cout