what are the differences b/w structure and class?

Answer Posted / sagu

In classes we can code functions which is not possible in
structures. In structures the number of members is
restricted to ten.whereas in c language we can use as many
members we required.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is method overriding different from overloading?

785


How many digits are in an integer?

649


What is multiple interface in c#?

744


Is int reference type c#?

726


What is concatenation and when should it be used?

729


What is multidimensional array in c#?

703


1. Describe page life cycle?

1845


Tell us something about static linking and dynamic linking?

749


What is generic and non generic collections in c#?

635


How does bitwise xor work?

669


What is the difference between string keyword and system.string class?

757


How to transpose multi-dimensional array?

806


what happens if you inherit multiple interfaces and they have conflicting method names?

693


What do you mean by winforms in c#?

706


what is the index value of the first element in an array?

710