Why are pointers not used in c++?
No Answer is Posted For this Question
Be the First to Post Answer
What do you mean by vtable and vptr in c++?
What are the different types of polymorphism in c++?
List the types of polymorphism in c++?
Given the following function definition: int doit(int &x, int y, int &z) { x = 3*x; y = y + 5; z = x+y; return z - 4; } int a = 5, b = 7, c = 9, d = 11; d = doit(a,b,c);
how to create window program in c++.please explain.
Can member data be public?
What happens if an exception is throws from an, object's constructor and object's destructor?
What is name mangling?
What will i and j equal after the code below is executed? Explain your answer.
Is c++ vector dynamic?
Differentiate between the manipulator and setf( ) function?
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; }