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"?

Answer Posted / ranjeet garodia

In C++, structure behaves like class like can add function,
and can use properties on class as inheritance, virtual,
etc.
while in C, structure we can have only data member but not
functions.

Is This Answer Correct ?    57 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What function initalizes variables in a class: a) Destructor b) Constitutor c) Constructor

1155


What is an inline function in c++?

1114


What is data types c++?

1018


Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?

2028


What is basic if statement syntax?

1088


Do you know about C++ 11 standard?

1086


What is array in c++ example?

1114


What are the advantages of using typedef in a program?

1142


Explain about Virtual Function in C++?

1027


How do you compile the source code with your compiler?

1057


Which is best ide for c++?

1011


what are the iterator and generic algorithms.

2164


What is the meaning of string in c++?

1068


What does override mean in c++?

1064


What are c++ stream classes?

1048