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...


Difference between Class and Struct.

Answers were Sorted based on User's Feedback



Difference between Class and Struct. ..

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

Difference between Class and Struct. ..

Answer / farhat khan

In C struct does not use function(method).

Is This Answer Correct ?    6 Yes 10 No

Difference between Class and Struct. ..

Answer / naksh @tcs

The major difference between struct and class is :
Struct donot contain functions(methods) as its members.

Yes, by default members of struct are public and that of a
class are private.

Is This Answer Correct ?    33 Yes 79 No

Post New Answer

More C Interview Questions

what is array?

63 Answers   Amdocs, HCL,


The differences between Windows XP and Windows Visa

8 Answers   HCL,


What is meant by operator precedence?

0 Answers  


Why c is called top down?

0 Answers  


Difference between macros and inline functions? Can a function be forced as inline?

0 Answers   HAL, Honeywell, Zomato,


how to make a scientific calculater ?

0 Answers  


What is the difference between %d and %i?

0 Answers  


what is event driven software and what is procedural driven software?

0 Answers  


List the variables are used for writing doubly linked list program.

0 Answers   Infosys, Wipro,


int main(){ float f=8.0; if(f==8.0) printf("good"); else printf("bad"); } what is the answere and explain it?

3 Answers  


plz let me know how to become a telecom protocol tester. thank you.

0 Answers  


What does the && operator do in a program code?

0 Answers  


Categories