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

Answer Posted / talib hassan

1.Structure cannot provide the re usability but class provide the re usability of code.
2. All the members of structure are public but a class provide the several types of accessing methods.
3. structure cannot support polymorphism concept but class provide polymorphism.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does void main () mean?

1244


Which is the memory area not included in C program? give the reason

1950


What is a lookup table in c?

1124


a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none

1282


Explain #pragma statements.

1054


Are bit fields portable?

1162


What is the difference between union and structure in c?

1183


How do you list a file’s date and time?

1073


how to execute a program using if else condition and the output should enter number and the number is odd only...

2307


What is the correct declaration of main?

1215


How can you draw circles in C?

1156


What do you mean by a sequential access file?

1085


please help me..... please codes and flowchart plz turbo c lang po yan.....please asap response... 3. Make an astrology program. The user types in his or her birthday (month, day, and year as integer), and the program responds with the user’s zodiac sign, horoscope, and other information related to it. If the user’s birth year falls into a leap year, your program should display an appropriate message for it. NOTES: Conditional Statements: it should be with graphics

3340


Is c object oriented?

974


a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above

1118