Explain about templates of C++.
No Answer is Posted For this Question
Be the First to Post Answer
Refer to a name of class or function that is defined within a namespace?
How to avoid a class from instantiation?
What does the nocreate and noreplace flag ensure when they are used for opening a file?
Is turbo c++ free?
const char * char * const What is the differnce between the above two?
What is scope in c++ with example?
What is a binary file? List the merits and demerits of the binary file usagein C++.
When do we run a shell in the unix system?
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.
Why are arrays usually processed with for loop?
Are vectors passed by reference c++?
How new/delete differs from malloc()/free?