Show the declaration for a pointer to function returning long and taking an integer parameter.
No Answer is Posted For this Question
Be the First to Post Answer
What is the function to call to turn an ascii string into a long?
What is array give example?
What is the use of 'this' pointer?
Is c++ a good first language to learn?
In C++ cout is: a) object b) class c) something else
11 Answers Infosys, Lehman Brothers,
What are files in c++?
When should we use container classes instead of arrays?
What operator is used to access a struct through a pointer a) >> b) -> c) *
How do you instruct your compiler to print the contents of the intermediate file showing the effects of the preprocessor?
How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?
What is a lambda function 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.