List the issue that the auto_ptr object handles?
No Answer is Posted For this Question
Be the First to Post Answer
What are the advantages of c++? Explain
How to avoid changing constant values?
1)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea += sizeof(int); } return 0; } 2)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea ++; } return 0; } The output of this two programs will be different why?
what is pulse code modulation?
How do I get good at c++ programming?
How does atoi function work?
what is the use of templates?
What is the difference between a class and a structure in C++?
What does flush do c++?
Difference between inline functions and macros?
Do you know about latest advancements in C++ ?
0 Answers Agilent, ZS Associates,
How can you force instantiation of a template?