Give 10 points of differences between C & C++.
No Answer is Posted For this Question
Be the First to Post Answer
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; }
Is string an object in c++?
Declare a class vehicle and make it an abstract data type.
What is algorithm in c++ programming?
How do you initialize a class member, class x { const int i; };
What is the main purpose of overloading operators?
Differentiate between a template class and class template in c++?
Should the member functions which are made public in the base class be hidden?
Is c the same as c++?
Under what conditions is multiple inheritance not recommended?
What is a down cast?
What is public, protected, private in c++?