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 18863How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?
2315What is the best sorting algorithm, when there is a large amount of data, that cannot be fit in the main memory. ?
1 6899Read 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;
2008Write a corrected statement in c++ so that the statement will work properly. if (4 < x < 11) y=2*x;
2017Write a corrected statement in c++ so that the statement will work properly. if (x > 5); y = 2*x; else y += 3+x;
1 3051Write a corrected statement in c++ so that the statement will work properly. if (x = y) x = 2*z;
2 4170Post New C++ General Questions
Why c++ is so important?
Is c++ platform dependent?
What is the history of c++?
What is scope in c++ with example?
Please explain class & object in c++?
Do we have to use initialization list in spite of the assignment in constructors?
Write a program to find the reverse Fibonacci series starting from N.
Explain polymorphism?
What are signs of manipulation?
Explain the extern storage classes in c++.
Can you pass an array to a function in c++?
Who made c++?
When must you use a pointer rather than a reference?
What is the use of setfill in c++?
What is the outcome of cout< a) 16 b) 17 c) 16.5