what are the types of Member Functions?
No Answer is Posted For this Question
Be the First to Post Answer
What is else syntax in c++?
Write syntax to define friend functions in C++.
In what situations do you have to use initialization list rather than assignment in constructors?
What is array give example?
What is a static member?
Does c++ support exception handling?
What is data abstraction? How is it different from data encapsulation?
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.
Can a constructor return a value?
What is setf in c++?
Should a constructor be public or private?
What is the standard template library (stl)?