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
What does void main () mean?
Which is the memory area not included in C program? give the reason
What is a lookup table in c?
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
Explain #pragma statements.
Are bit fields portable?
What is the difference between union and structure in c?
How do you list a file’s date and time?
how to execute a program using if else condition and the output should enter number and the number is odd only...
What is the correct declaration of main?
How can you draw circles in C?
What do you mean by a sequential access file?
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
Is c object oriented?
a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above