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 class and structure in C++?

Answer Posted / naveen tuteja

We can declare a structure without a name tag but we cannot
declare a class without name tag.

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What makes a language oop?

1054


class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash

2281


What do you mean by abstraction?

1068


What is the importance of oop?

1094


What is inheritance write a program to show use of inheritance?

1147


What is abstraction encapsulation?

1114


What is balance factor?

1078


What is encapsulation in simple terms?

1038


What does sksksk mean in text slang?

2114


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

2151


What is the purpose of polymorphism?

1122


What is abstract class in oop?

1005


What is the difference between procedural programming and oops?

1127


Can main method override?

1104


when to use 'mutable' keyword and when to use 'const cast' in c++

2159