What are the extraction and insertion operators in c++? Explain with examples.
No Answer is Posted For this Question
Be the First to Post Answer
If you hear the cpu fan is running and the monitor power is still on, but you did not see anything show up in the monitor screen. What would you do to find out what is going wrong?
"How will you merge these two arrays? Write the program Array: A 1 18 22 43 Array: B 3 4 6 20 34 46 55 Output Array: C 1 3 4 6 18 20 22 34 43 46 55"
9 Answers College School Exams Tests, HCL,
Is structure can be inherited?
Does there exist any other function which can be used to convert an integer or a float to a string?
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.
What are friend functions?
Define a way other than using the keyword inline to make a function inline?
Why do we use using namespace std in c++?
Can a new be used in place of old mallocq? If yes, why?
What is the difference between a shallow copy and a deep copy?
class basex { int x; public: void setx(int y) {x=y;} }; class derived : basex {}; What is the access level for the member function "setx" in the class "derived" above? a) private b) local c) global d) public e) protected
Tell me difference between constant pointer and pointer to a constant.