How can you link a c++ program to c functions?
No Answer is Posted For this Question
Be the First to Post Answer
How do I use turbo c++?
What is the difference between a baller and a reference in C++?
What is std namespace in c++?
an integer constant must have atleast one a) character b) digit c) decimal point
Write a program which uses functions like strcmp(), strcpy()? etc
Distinguish between new and malloc and delete and free().
Explain what are single and multiple inheritances 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.
How do you show the declaration of a virtual constructor?
What are containers in c++?
class Alpha { public: char data[10000]; Alpha(); ~Alpha(); }; class Beta { public: Beta() { n = 0; } void FillData(Alpha a); private: int n; }; How do you make the above sample code more efficient? a) If possible, make the constructor for Beta private to reduce the overhead of public constructors. b) Change the return type in FillData to int to negate the implicit return conversion from "int" to "void". c) Make the destructor for Alpha virtual. d) Make the constructor for Alpha virtual. e) Pass a const reference to Alpha in FillData
what is data abstraction in C++?