Give 10 points of differences between C & C++.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

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; }

1 Answers  


Is string an object in c++?

0 Answers  


Declare a class vehicle and make it an abstract data type.

0 Answers  


What is algorithm in c++ programming?

0 Answers  


How do you initialize a class member, class x { const int i; };

8 Answers   emc2,






What is the main purpose of overloading operators?

0 Answers  


Differentiate between a template class and class template in c++?

0 Answers  


Should the member functions which are made public in the base class be hidden?

0 Answers  


Is c the same as c++?

0 Answers  


Under what conditions is multiple inheritance not recommended?

1 Answers  


What is a down cast?

0 Answers  


What is public, protected, private in c++?

0 Answers  


Categories