Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the Difference between "C structure" and "C++
structure"?

Answers were Sorted based on User's Feedback



What is the Difference between "C structure" and "C++ structure"?..

Answer / asif iqbal

1.C is a procedural oriented lang. whereas C++ is an object oriented lang.
2.C employs bottom-up aproach whereas C++ employs top-down approach.
3.In C main preference is given to functions whereas in C++ main preference is given to objects.
4.In C no inheritence,polymorphism whereas in C++ it exists.
5.In C data member and member functions are separated whereas in C++ they are within a Class.

Is This Answer Correct ?    1 Yes 8 No

What is the Difference between "C structure" and "C++ structure"?..

Answer / guest

C++ DOES NOT HAVE INHERITANCE IT DOSE NOT HAVE POINTERS N
HEADER FILES

Is This Answer Correct ?    7 Yes 33 No

Post New Answer

More C++ General Interview Questions

Can non-public members of another instance of the class be retrieved by the method of the same class?

0 Answers  


How to allocate memory dynamically for a reference?

0 Answers  


What do you mean by volatile and mutable keywords used in c++?

0 Answers  


What is #include sstream?

0 Answers  


What is c++ & why it is used?

0 Answers  


What are advantages of C++ when comparing with C?

18 Answers   HP, iGate, TCS,


Define copy constructor.

0 Answers  


Define a nested class. Explain how it can be useful.

0 Answers  


Write a program to interchange 2 variables without using the third one.

0 Answers  


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  


Why is c++ difficult?

0 Answers  


Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?

0 Answers  


Categories