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?

Answer Posted / rohit patil

Syntax of class
class class_name
{
variable_declaration
function_declaration
};

syntax of structure
struct struc_name
{
variable declaration
};

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the purpose of the keyword volatile.

1099


How many types of classes are there in c++?

982


What is a string example?

1008


Describe delete operator?

1035


List the types of polymorphism in c++?

1051


Will a catch statement catch a derived exception if it is looking for the base class?

958


Do vectors start at 0?

941


What is the difference between multiple and multilevel inheritance in c++?

1080


Should the this pointer can be used in the constructor?

970


When the constructor of a base class calls a virtual function, why doesn't the override function of the derived class gets called?

1045


Is c++ fully object oriented?

915


What is function prototyping? What are its advantages?

1029


Do the parentheses after the type name make a difference with new?

1032


What are files in c++?

972


How do I run c++?

992