STL (140)
OOPS (873)
C++ General (2409) Write a c++ code that will calculate the roots of a quadratic equation a2+ bx+c=0 Hint: d = sqrt (b2-4ac), and the roots are: x1 = (€“b + d)/2a and x2 = (€“b €“ d)/2a (use sqrt function from cmath.h )?
2045Problem 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.
2116Problem 6: Area of a trapezoid can be calculated by the following formula: A=(b1 b2)×h2 where b1 and b2 are the parallel sides or the bases and h is length of height Write a C code of this program
2051What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
IBM,
2209a program using one dimensional array that searches a number if it is found on the list of given input numbers given by the user and locate its exact location in the list.
2033Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
CAT,
1695
What is the renewal class?
What is difference between inheritance and polymorphism?
Difference between pointer to constant vs. Pointer constant
What is object and class in oops?
Write about the various sections of the executable image?
Can you please explain the difference between overloading and overriding?
Explain container class.
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
Explain register storage specifier.
When the constructor of a base class calls a virtual function, why doesn't the override function of the derived class gets called?
What is a dangling pointer in c++?
What is c++ similar to?
Can we inherit constructor in c++?
Why should you learn c++?
Is it possible for a member function to delete the pointer, named this?