Question: True or False Programming C++ Questions 1) Is this a syntatically correct code? class B{ public: //.......... virtual void f() = 0; }; int main()

True or False Programming C++ Questions

1)

Is this a syntatically correct code?

class B{

public:

//..........

virtual void f() = 0;

};

int main() {

B b1, b2;

}

2.

If an exception is thrown inside a function, say f(), but no handled there, the exception is propagated to the function that called f().

3.

A function declared as follows:

void func(parameter_list);

must no throw any exception.

4.

A function declared as follows

void func(parameter_list) throw();

must no throw any exception

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!