Will a catch statement catch a derived exception if it is looking for the base class?
No Answer is Posted For this Question
Be the First to Post Answer
Problem 5: Hero's Formula is A method for calculating the area of a triangle when you know the lengths of all three sides. Let a, b, c be the lengths of the sides of a triangle. The area is given by:A= pp-ap-b(p-c) | wherep= a+b+c2 | | Write a C-language code to calculate area of triangle using above method. Take the three lengths of the triangle from the user and display the area that your program calculates.
What is the use of setprecision in c++?
What is an inline function in c++?
How does list r; differs from list r();?
What is the use of vtable?
What is a string example?
Can we distribute function templates and class templates in object libraries?
What is low level language in simple words?
Friend functions can access private and protected members of a class.
What is insertion sorting?
What is the type of 'this' pointer? When does it get created?
What is a stack? How it can be implemented?