Write a program to calculate the following i want a c++program for this condition 1+4+9+16+….+100 Like this (1^2+2^2) Hint use function pow(a,b)
4 18848How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?
2311What is the best sorting algorithm, when there is a large amount of data, that cannot be fit in the main memory. ?
1 6897Read the following program carefully and write the output
of the program. Explain each
line of code according to given numbering.
#include
write a corrected statement so that the instruction will work properly. if (4 < x < 11) y = 2 * x;
2003Write a corrected statement in c++ so that the statement will work properly. if (4 < x < 11) y=2*x;
2014Write a corrected statement in c++ so that the statement will work properly. if (x > 5); y = 2*x; else y += 3+x;
1 3045Write a corrected statement in c++ so that the statement will work properly. if (x = y) x = 2*z;
2 4155Post New C++ General Questions
Can we use this pointer in a class specific, operator-overloading function for new operator?
What is recursion?
Is it possible for the objects to read and write themselves?
What is the full form of ios?
Are c and c++ different?
Do class declarations end with a semicolon? Do class method definitions?
What is the difference between the parameter to a template and the parameter to a function?
Write a short code using c++ to print out all odd number from 1 to 100 using a for loop
Explain the difference between static and dynamic binding of functions?
What is fflush c++?
What is the role of copy constructor in copying of thrown objects?
What is the difference between an external iterator and an internal iterator?
What does it mean to declare a member function as static?
What is the c++ code?
What is a dynamic binding in c++?