What is the identity function in c++? How is it useful?
No Answer is Posted For this Question
Be the First to Post Answer
What are the advantages of using a pointer?
Can malloc be used in c++?
List the merits and demerits of declaring a nested class in C++?
How can you say that a template is better than a base class?
How would you implement a substr() function that extracts a sub string from a given string?
What it is and how it might be called (2 methods).
What is rtti in c++?
What do manipulators do?
What is new in c++?
Which of the following operator cannot be overloaded?
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.
Write a program to find the Fibonacci series recursively.