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 17327How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?
1823What is the best sorting algorithm, when there is a large amount of data, that cannot be fit in the main memory. ?
1 6180Read 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;
1499Write a corrected statement in c++ so that the statement will work properly. if (4 < x < 11) y=2*x;
1495Write a corrected statement in c++ so that the statement will work properly. if (x > 5); y = 2*x; else y += 3+x;
1 2346Write a corrected statement in c++ so that the statement will work properly. if (x = y) x = 2*z;
2 3173Post New C++ General Questions
Incase of a function declaration, what is extern means?
Can we get the value of ios format flags?
What is c++ and its uses?
What are disadvantages of pointers?
What is the difference between while and do while loop? Explain with examples.
How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?
Explain bubble sorting.
What is the average salary of a c++ programmer?
Explain public, protected, private in c++?
What is data binding in c++?
What is scope resolution operator in c++ with example?
If all is successful, what should main return a) 0 b) 1 c) void
Is c++ vector dynamic?
What is the hardest coding language to learn?
Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?