What is copy constructor? Can we make copy constructor private in c++?
No Answer is Posted For this Question
Be the First to Post Answer
please help to write the code of chess game in c++??????????
What is a mutex and a critical section.Whats difference between them?How do each of them work?
How does list r; differs from list r();?
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?
Is c++ the hardest language?
Difference between inline functions and macros?
What is the difference between equal to (==) and assignment operator (=)?
Mention the storage classes in c++.
Does c++ vector allocate memory?
Differentiate between the message and method in c++?
Can comments be nested?
Explain the uses of static class data?