What is meant by const_cast?
No Answer is Posted For this Question
Be the First to Post Answer
What is dynamic and static typing?
Array base access faster or pointer base access is faster?
Explain the auto storage classes in c++.
Does c++ have finally?
How to declare a pointer to an array of integers?
What is the use of pointer in c++ with example?
Why would you use pointers in c++?
Ask to write virtual base class code?
Can a function take variable length arguments, if yes, how?
What are all predefined data types in c++?
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.
Who calls main function?