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 / bitdeveloper

<a
href="http://questionscompiled.com/answer.jsp?technology=cpp&qid=141">questionscompiled.com</a>

Classes and Structures in C++ are same except class defaults
to private and structures to public. They can have data
members, member function, this pointer, static member functions.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to concatenate two strings.

1027


What is an operator function? Describe the function of an operator function?

1063


Which format specifier is used for printing a pointer value?

1004


Explain one-definition rule (odr).

1063


How can you quickly find the number of elements stored in a dynamic array?

984


Why c++ is the best language?

1005


What are the rules about using an underscore in a c++ identifier?

1089


What are the c++ access specifiers?

1340


What is binary object model?

966


Write a Program for dynamically intialize a 2 dimentional array. Eg:5x20, accept strings and check for vowels and display the no.finally free the space allocated .

1087


Can comments be nested?

982


What is anonymous object in c++?

1027


What is std :: endl?

972


Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.

3790


Write a Program for find and replace a character in a string.

1013