Difference between Class and Struct.
Answer Posted / ravish
Structure is a value type variable, but a class is a
reference type variable.
We can create an object of a class but not for a structure.
Structures does not have function definition but a class has..
Is This Answer Correct ? | 6 Yes | 7 No |
Post New Answer View All Answers
How to set file pointer to beginning c?
Write a program to swap two numbers without using the third variable?
How do I convert a string to all upper or lower case?
What is the difference between printf and scanf )?
hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?
How does selection sort work in c?
How can I do serial ("comm") port I/O?
What is the difference between declaring a variable by constant keyword and #define ing that variable?
How many bytes are occupied by near, far and huge pointers (dos)?
how to write a c program to print list of fruits in alpabetical order?
What are local static variables? How can you use them?
Where are some collections of useful code fragments and examples?
Differentiate between a structure and a union.
Is fortran still used in 2018?
why programs in c are running with out #include