What is pointer -to-members in C++? Give their syntax?
No Answer is Posted For this Question
Be the First to Post Answer
How many characters are recognized by ANSI C++?
What is the use of bit fields in structure declaration?
What is c++ mutable?
Why is null pointer used?
What are register variables?
How to avoid a class from instantiation?
How do you differentiate between overloading the prefix and postfix increments?
What are activex and ole?
What are the weaknesses of C++?
this is to swap to strings....but in output the whole strings are swapped leaving first as it is...why it is so #include<iostream.h> int main() { char a[]="ajeet"; char b[]="singh"; long x=*a; long y=*b; cout<<x<<":"<<y; x=x+y; y=x-y; x=x-y; *a=x; *b=y; cout<<x<<":"<<y; cout<<&a<<endl; cout<<&b<<endl; }
On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?
What is meant by const_cast?